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
@@ -41,50 +41,48 @@ enum OVendor {
41 41
42 OVENDOR_HP, 42 OVENDOR_HP,
43 OVENDOR_Sharp 43 OVENDOR_Sharp
44 }; 44 };
45 45
46enum OSystem { 46enum OSystem {
47 OSYSTEM_Unknown, 47 OSYSTEM_Unknown,
48 48
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
83 81
84 QString modelString ( ); 82 QString modelString ( );
85 OModel model ( ); 83 OModel model ( );
86 84
87 QString vendorString ( ); 85 QString vendorString ( );
88 OVendor vendor ( ); 86 OVendor vendor ( );
89 87
90 QString systemString ( ); 88 QString systemString ( );