summaryrefslogtreecommitdiff
path: root/libopie/odevice.h
Unidiff
Diffstat (limited to 'libopie/odevice.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/odevice.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libopie/odevice.h b/libopie/odevice.h
index 9dda68e..2f676ff 100644
--- a/libopie/odevice.h
+++ b/libopie/odevice.h
@@ -49,34 +49,32 @@ enum OSystem {
49 OSYSTEM_Familiar, 49 OSYSTEM_Familiar,
50 OSYSTEM_Zaurus, 50 OSYSTEM_Zaurus,
51 OSYSTEM_OpenZaurus 51 OSYSTEM_OpenZaurus
52}; 52};
53 53
54enum OLedState { 54enum OLedState {
55 OLED_Off, 55 OLED_Off,
56 OLED_On, 56 OLED_On,
57 OLED_BlinkSlow, 57 OLED_BlinkSlow,
58 OLED_BlinkFast 58 OLED_BlinkFast
59}; 59};
60 60
61 61
62class ODevice 62class ODevice
63{ 63{
64public: 64public:
65
66public:
67 static ODevice *inst ( ); 65 static ODevice *inst ( );
68 66
69 // system 67 // system
70 enum PowerButtonHandler { 68 enum PowerButtonHandler {
71 KERNEL, 69 KERNEL,
72 OPIE 70 OPIE
73 }; 71 };
74 72
75 virtual bool setPowerButtonHandler ( PowerButtonHandler h ); 73 virtual bool setPowerButtonHandler ( PowerButtonHandler h );
76 virtual bool suspend ( ); 74 virtual bool suspend ( );
77 75
78 virtual bool setDisplayStatus ( bool on ); 76 virtual bool setDisplayStatus ( bool on );
79 virtual bool setDisplayBrightness ( int brightness ); 77 virtual bool setDisplayBrightness ( int brightness );
80 virtual int displayBrightnessResolution ( ) const; 78 virtual int displayBrightnessResolution ( ) const;
81 79
82// information 80// information