diff options
author | Christian Gmeiner <christian.gmeiner@gmail.com> | 2010-04-16 21:05:57 +0200 |
---|---|---|
committer | Christian Gmeiner <christian.gmeiner@gmail.com> | 2010-04-16 21:05:57 +0200 |
commit | c182191b3d54dcb22abc5c8b08d9c63e7a57b585 (patch) | |
tree | 253bbf0d84a0e79f226fc84910ac971d58aed99b /dxr3device.h | |
parent | c4bd8a38e6547b3ccd2eadd151053e0a5e7d7ac2 (diff) | |
download | vdr-plugin-dxr3-c182191b3d54dcb22abc5c8b08d9c63e7a57b585.tar.gz vdr-plugin-dxr3-c182191b3d54dcb22abc5c8b08d9c63e7a57b585.tar.bz2 |
add infrastructure to observe settings changes
Check it out by changing BSC vales in the settings osd.
Diffstat (limited to 'dxr3device.h')
-rw-r--r-- | dxr3device.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dxr3device.h b/dxr3device.h index 3d2cef7..1732c03 100644 --- a/dxr3device.h +++ b/dxr3device.h @@ -30,6 +30,7 @@ #include "dxr3audiodecoder.h" #include "dxr3spudecoder.h" #include "dxr3audio.h" +#include "settings.h" #include "uncopyable.h" class cDxr3Name { @@ -47,7 +48,7 @@ private: cDxr3Device is the interface for VDR devices. Is is the part, which VDR "talks" with our plugin. */ -class cDxr3Device : public cDevice, public Uncopyable { +class cDxr3Device : public cDevice, public Uncopyable, public iSettingsObserver { public: static cDxr3Device *instance(); @@ -95,6 +96,9 @@ public: int ossSetPlayMode(uint32_t mode); + // observer + virtual void settingsChange(SettingsChange change); + private: cDxr3Device(); ~cDxr3Device(); |