summaryrefslogtreecommitdiff
path: root/dxr3nextpts.h
diff options
context:
space:
mode:
authorscop <scop>2005-04-18 19:17:40 +0000
committerscop <scop>2005-04-18 19:17:40 +0000
commit37c4c7b0a4a388d6c933e95756ddd30dd0cca6fd (patch)
tree273ceb29e8631796f83b88e3a133dbab4ccbe2c7 /dxr3nextpts.h
parent4d4c6bb89da5b1cc3eff554412ea834337308cd5 (diff)
downloadvdr-plugin-dxr3-37c4c7b0a4a388d6c933e95756ddd30dd0cca6fd.tar.gz
vdr-plugin-dxr3-37c4c7b0a4a388d6c933e95756ddd30dd0cca6fd.tar.bz2
Add (X)Emacs indentation settings.
Diffstat (limited to 'dxr3nextpts.h')
-rw-r--r--dxr3nextpts.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/dxr3nextpts.h b/dxr3nextpts.h
index 64fe8eb..6fd0a38 100644
--- a/dxr3nextpts.h
+++ b/dxr3nextpts.h
@@ -32,24 +32,24 @@
// damit wird ermittelt welches audio frame zu welchem bild gehört
class cDxr3NextPts : public Singleton<cDxr3NextPts>
{
-public:
- cDxr3NextPts() {}
- ~cDxr3NextPts() {}
+ public:
+ cDxr3NextPts() {}
+ ~cDxr3NextPts() {}
- void SetNextPts(uint32_t pts) { Lock(); if (pts) m_nextPts = pts; Unlock(); }
- uint32_t GetNextPts() { Lock(); uint32_t tmpPts = m_nextPts; Unlock(); return tmpPts;}
+ void SetNextPts(uint32_t pts) { Lock(); if (pts) m_nextPts = pts; Unlock(); }
+ uint32_t GetNextPts() { Lock(); uint32_t tmpPts = m_nextPts; Unlock(); return tmpPts;}
- void Clear() { Lock(); m_nextPts = 0; Unlock();}
+ void Clear() { Lock(); m_nextPts = 0; Unlock();}
-protected:
- static cMutex* m_pMutex;
- uint32_t m_nextPts;
+ protected:
+ static cMutex* m_pMutex;
+ uint32_t m_nextPts;
- static void Lock() {cDxr3NextPts::m_pMutex->Lock();}
- static void Unlock() {cDxr3NextPts::m_pMutex->Unlock();}
+ static void Lock() {cDxr3NextPts::m_pMutex->Lock();}
+ static void Unlock() {cDxr3NextPts::m_pMutex->Unlock();}
-private:
- cDxr3NextPts(cDxr3NextPts&); // no copy constructor
+ private:
+ cDxr3NextPts(cDxr3NextPts&); // no copy constructor
};
#endif /*_DXR3NEXTPTS_H_*/