author | schurig <schurig> | 2004-09-09 09:08:51 (UTC) |
---|---|---|
committer | schurig <schurig> | 2004-09-09 09:08:51 (UTC) |
commit | 57549dc20fdaf0c5d7784d2adbbbdc8dfebb70fa (patch) (unidiff) | |
tree | 864f23b263a035a92e424daf4e352cffe2484ada | |
parent | 8df28401db620a01144ca45988837583f55e15c3 (diff) | |
download | opie-57549dc20fdaf0c5d7784d2adbbbdc8dfebb70fa.zip opie-57549dc20fdaf0c5d7784d2adbbbdc8dfebb70fa.tar.gz opie-57549dc20fdaf0c5d7784d2adbbbdc8dfebb70fa.tar.bz2 |
added MNCI-RX
-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 | |||
@@ -84,24 +84,25 @@ enum OModel { | |||
84 | Model_SIMpad = ( 3 << 24 ), | 84 | Model_SIMpad = ( 3 << 24 ), |
85 | 85 | ||
86 | Model_SIMpad_All = ( Model_SIMpad | 0xffffff ), | 86 | Model_SIMpad_All = ( Model_SIMpad | 0xffffff ), |
87 | Model_SIMpad_CL4 = ( Model_SIMpad | 0x000001 ), | 87 | Model_SIMpad_CL4 = ( Model_SIMpad | 0x000001 ), |
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 | ||
104 | Model_Beagle = ( 6 << 24 ), | 105 | Model_Beagle = ( 6 << 24 ), |
105 | 106 | ||
106 | Model_Beagle_All = ( Model_Beagle | 0xffffff ), | 107 | Model_Beagle_All = ( Model_Beagle | 0xffffff ), |
107 | Model_Beagle_PA100 = ( Model_Beagle | 0x000001 ), | 108 | Model_Beagle_PA100 = ( Model_Beagle | 0x000001 ), |
@@ -252,25 +253,25 @@ public: | |||
252 | 253 | ||
253 | virtual bool setSoftSuspend ( bool on ); | 254 | virtual bool setSoftSuspend ( bool on ); |
254 | virtual bool suspend(); | 255 | virtual bool suspend(); |
255 | 256 | ||
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 | ||
273 | virtual QValueList <OLed> ledList() const; | 274 | virtual QValueList <OLed> ledList() const; |
274 | virtual QValueList <OLedState> ledStateList ( OLed led ) const; | 275 | virtual QValueList <OLedState> ledStateList ( OLed led ) const; |
275 | virtual OLedState ledState ( OLed led ) const; | 276 | virtual OLedState ledState ( OLed led ) const; |
276 | virtual bool setLedState ( OLed led, OLedState st ); | 277 | virtual bool setLedState ( OLed led, OLedState st ); |