diff options
author | scop <scop> | 2005-04-18 19:17:40 +0000 |
---|---|---|
committer | scop <scop> | 2005-04-18 19:17:40 +0000 |
commit | 37c4c7b0a4a388d6c933e95756ddd30dd0cca6fd (patch) | |
tree | 273ceb29e8631796f83b88e3a133dbab4ccbe2c7 /dxr3device.h | |
parent | 4d4c6bb89da5b1cc3eff554412ea834337308cd5 (diff) | |
download | vdr-plugin-dxr3-37c4c7b0a4a388d6c933e95756ddd30dd0cca6fd.tar.gz vdr-plugin-dxr3-37c4c7b0a4a388d6c933e95756ddd30dd0cca6fd.tar.bz2 |
Add (X)Emacs indentation settings.
Diffstat (limited to 'dxr3device.h')
-rw-r--r-- | dxr3device.h | 88 |
1 files changed, 44 insertions, 44 deletions
diff --git a/dxr3device.h b/dxr3device.h index 2252c94..71c8949 100644 --- a/dxr3device.h +++ b/dxr3device.h @@ -32,63 +32,63 @@ // ================================== // our device :) /*! - cDxr3Device is the interface for VDR devices. - Is is the part, which VDR "talks" with our plugin. + cDxr3Device is the interface for VDR devices. + Is is the part, which VDR "talks" with our plugin. */ class cDxr3Device : public cDevice, public Singleton<cDxr3Device> { -public: - cDxr3Device(); - cDxr3Device(cDxr3Interface& demuxDevice); - ~cDxr3Device(); + public: + cDxr3Device(); + cDxr3Device(cDxr3Interface& demuxDevice); + ~cDxr3Device(); - virtual void MakePrimaryDevice(bool On); + virtual void MakePrimaryDevice(bool On); - // replaying - virtual bool HasDecoder() const; - virtual bool CanReplay() const; - virtual bool SetPlayMode(ePlayMode PlayMode); - virtual int64_t GetSTC(); - virtual void TrickSpeed(int Speed); - virtual void Clear(); - virtual void Play(); - virtual void Freeze(); - virtual void Mute(); - virtual void StillPicture(const uchar *Data, int Length); - virtual bool Poll(cPoller &Poller, int TimeoutMs = 0); - virtual int PlayVideo(const uchar *Data, int Length); + // replaying + virtual bool HasDecoder() const; + virtual bool CanReplay() const; + virtual bool SetPlayMode(ePlayMode PlayMode); + virtual int64_t GetSTC(); + virtual void TrickSpeed(int Speed); + virtual void Clear(); + virtual void Play(); + virtual void Freeze(); + virtual void Mute(); + virtual void StillPicture(const uchar *Data, int Length); + virtual bool Poll(cPoller &Poller, int TimeoutMs = 0); + virtual int PlayVideo(const uchar *Data, int Length); #if VDRVERSNUM >= 10318 - virtual int PlayAudio(const uchar *Data, int Length); + virtual int PlayAudio(const uchar *Data, int Length); #else - virtual void PlayAudio(const uchar *Data, int Length); + virtual void PlayAudio(const uchar *Data, int Length); #endif - // addition functions - virtual bool GrabImage(const char *FileName, bool Jpeg = true, int Quality = -1, int SizeX = -1, int SizeY = -1); - virtual void SetVideoFormat(bool VideoFormat16_9); - virtual void SetVolumeDevice(int Volume); + // addition functions + virtual bool GrabImage(const char *FileName, bool Jpeg = true, int Quality = -1, int SizeX = -1, int SizeY = -1); + virtual void SetVideoFormat(bool VideoFormat16_9); + virtual void SetVolumeDevice(int Volume); - // osd - virtual cSpuDecoder *GetSpuDecoder(); - #if VDRVERSNUM < 10307 - virtual cOsdBase* NewOsd(int x, int y); - #endif + // osd + virtual cSpuDecoder *GetSpuDecoder(); +#if VDRVERSNUM < 10307 + virtual cOsdBase* NewOsd(int x, int y); +#endif - // helper function - void Reset() { m_CalledBySet = true; SetPlayMode(m_PlayMode); m_CalledBySet = false; } + // helper function + void Reset() { m_CalledBySet = true; SetPlayMode(m_PlayMode); m_CalledBySet = false; } -protected: - ePlayMode m_PlayMode; - cDxr3DemuxDevice m_DemuxDevice; - bool m_AC3Present; - bool m_CalledBySet; - std::string m_strBuf; - int m_Offset; + protected: + ePlayMode m_PlayMode; + cDxr3DemuxDevice m_DemuxDevice; + bool m_AC3Present; + bool m_CalledBySet; + std::string m_strBuf; + int m_Offset; - //virtual bool SetPlayMode(ePlayMode PlayMode); - //uint8_t m_pBuffer[MAX_VIDEO_BUFFER_SIZE]; - //cDxr3StartStopThread* m_pStartStopThread; - cDxr3SpuDecoder* m_spuDecoder; + //virtual bool SetPlayMode(ePlayMode PlayMode); + //uint8_t m_pBuffer[MAX_VIDEO_BUFFER_SIZE]; + //cDxr3StartStopThread* m_pStartStopThread; + cDxr3SpuDecoder* m_spuDecoder; }; #endif /*_DXR3_DEVICE_H_*/ |