Diffstat (limited to 'libopie2/opiecore/device/odevice.h') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie2/opiecore/device/odevice.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libopie2/opiecore/device/odevice.h b/libopie2/opiecore/device/odevice.h index f4b3e0e..6f0d036 100644 --- a/libopie2/opiecore/device/odevice.h +++ b/libopie2/opiecore/device/odevice.h | |||
@@ -88,16 +88,17 @@ enum OModel { | |||
88 | Model_SIMpad_SL4 = ( Model_SIMpad | 0x000002 ), | 88 | Model_SIMpad_SL4 = ( Model_SIMpad | 0x000002 ), |
89 | Model_SIMpad_SLC = ( Model_SIMpad | 0x000004 ), | 89 | Model_SIMpad_SLC = ( Model_SIMpad | 0x000004 ), |
90 | Model_SIMpad_TSinus = ( Model_SIMpad | 0x000008 ), | 90 | Model_SIMpad_TSinus = ( Model_SIMpad | 0x000008 ), |
91 | 91 | ||
92 | Model_Ramses = ( 4 << 24 ), | 92 | Model_Ramses = ( 4 << 24 ), |
93 | 93 | ||
94 | Model_Ramses_All = ( Model_Ramses | 0xffffff ), | 94 | Model_Ramses_All = ( Model_Ramses | 0xffffff ), |
95 | Model_Ramses_MNCI = ( Model_Ramses | 0x000001 ), | 95 | Model_Ramses_MNCI = ( Model_Ramses | 0x000001 ), |
96 | Model_Ramses_MNCIRX = ( Model_Ramses | 0x000002 ), | ||
96 | 97 | ||
97 | Model_Yopy = ( 5 << 24 ), | 98 | Model_Yopy = ( 5 << 24 ), |
98 | 99 | ||
99 | Model_Yopy_All = ( Model_Yopy | 0xffffff ), | 100 | Model_Yopy_All = ( Model_Yopy | 0xffffff ), |
100 | Model_Yopy_3000 = ( Model_Yopy | 0x000001 ), | 101 | Model_Yopy_3000 = ( Model_Yopy | 0x000001 ), |
101 | Model_Yopy_3500 = ( Model_Yopy | 0x000002 ), | 102 | Model_Yopy_3500 = ( Model_Yopy | 0x000002 ), |
102 | Model_Yopy_3700 = ( Model_Yopy | 0x000003 ), | 103 | Model_Yopy_3700 = ( Model_Yopy | 0x000003 ), |
103 | 104 | ||
@@ -256,17 +257,17 @@ public: | |||
256 | virtual bool setDisplayStatus ( bool on ); | 257 | virtual bool setDisplayStatus ( bool on ); |
257 | virtual bool setDisplayBrightness ( int brightness ); | 258 | virtual bool setDisplayBrightness ( int brightness ); |
258 | virtual int displayBrightnessResolution() const; | 259 | virtual int displayBrightnessResolution() const; |
259 | virtual bool setDisplayContrast ( int contrast ); | 260 | virtual bool setDisplayContrast ( int contrast ); |
260 | virtual int displayContrastResolution() const; | 261 | virtual int displayContrastResolution() const; |
261 | 262 | ||
262 | // don't add new virtual methods, use this: | 263 | // don't add new virtual methods, use this: |
263 | // /*virtual */ void boo(int i ) { return virtual_hook(1,&i); }; | 264 | // /*virtual */ void boo(int i ) { return virtual_hook(1,&i); }; |
264 | // and in your subclass do do overwrite | 265 | // and in your subclass do overwrite |
265 | // protected virtual int virtual_hook(int, void *) | 266 | // protected virtual int virtual_hook(int, void *) |
266 | // which is defined below | 267 | // which is defined below |
267 | 268 | ||
268 | // input / output | 269 | // input / output |
269 | virtual void playAlarmSound(); | 270 | virtual void playAlarmSound(); |
270 | virtual void playKeySound(); | 271 | virtual void playKeySound(); |
271 | virtual void playTouchSound(); | 272 | virtual void playTouchSound(); |
272 | 273 | ||