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 cda504a..5009b91 100644
--- a/libopie/odevice.h
+++ b/libopie/odevice.h
@@ -57,55 +57,53 @@ enum OLedState {
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 65
66public: 66public:
67 static ODevice *inst ( ); 67 static ODevice *inst ( );
68 68
69 // system 69 // system
70 virtual bool suspend ( ); 70 virtual bool suspend ( );
71 71
72// information 72// information
73 73
74 QString modelString ( ); 74 QString modelString ( );
75 OModel model ( ); 75 OModel model ( );
76 76
77 QString vendorString ( ); 77 QString vendorString ( );
78 OVendor vendor ( ); 78 OVendor vendor ( );
79 79
80 QString systemString ( ); 80 QString systemString ( );
81 OSystem system ( ); 81 OSystem system ( );
82 82
83 QString systemVersionString ( ); 83 QString systemVersionString ( );
84 84
85// input / output 85// input / output
86 86
87 virtual void alarmSound ( ); 87 virtual void alarmSound ( );
88 virtual void keySound ( ); 88 virtual void keySound ( );
89 virtual void touchSound ( ); 89 virtual void touchSound ( );
90 90
91 virtual uint hasLeds ( ) const; 91 virtual uint hasLeds ( ) const;
92 virtual OLedState led ( uint which ) const; 92 virtual OLedState led ( uint which ) const;
93 virtual bool setLed ( uint which, OLedState st ); 93 virtual bool setLed ( uint which, OLedState st );
94 94
95 virtual ~ODevice ( ); 95 virtual ~ODevice ( );
96 96
97protected: 97protected:
98 ODevice ( ); 98 ODevice ( );
99 virtual void init ( ); 99 virtual void init ( );
100 100
101 ODeviceData *d; 101 ODeviceData *d;
102 102
103private: 103private:
104 ODevice ( const ODevice & ); 104 ODevice ( const ODevice & );
105
106 static void tstp_sighandler ( int );
107}; 105};
108 106
109#endif 107#endif
110 108
111 109