summaryrefslogtreecommitdiff
path: root/libopie/odevice.h
Unidiff
Diffstat (limited to 'libopie/odevice.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/odevice.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libopie/odevice.h b/libopie/odevice.h
index 575e1fe..ff578d8 100644
--- a/libopie/odevice.h
+++ b/libopie/odevice.h
@@ -98,16 +98,17 @@ class ODevice : public QObject {
98 Q_OBJECT 98 Q_OBJECT
99 99
100private: 100private:
101 ODevice ( const ODevice & ); 101 ODevice ( const ODevice & );
102 102
103protected: 103protected:
104 ODevice ( ); 104 ODevice ( );
105 virtual void init ( ); 105 virtual void init ( );
106 virtual void initButtons ( );
106 107
107 ODeviceData *d; 108 ODeviceData *d;
108 109
109public: 110public:
110 virtual ~ODevice ( ); 111 virtual ~ODevice ( );
111 112
112 static ODevice *inst ( ); 113 static ODevice *inst ( );
113 114
@@ -152,17 +153,17 @@ public:
152 virtual int lightSensorResolution ( ) const; 153 virtual int lightSensorResolution ( ) const;
153 154
154 /** 155 /**
155 * Returns the available buttons on this device. The number and location 156 * Returns the available buttons on this device. The number and location
156 * of buttons will vary depending on the device. Button numbers will be assigned 157 * of buttons will vary depending on the device. Button numbers will be assigned
157 * by the device manufacturer and will be from most preferred button to least preffered 158 * by the device manufacturer and will be from most preferred button to least preffered
158 * button. Note that this list only contains "user mappable" buttons. 159 * button. Note that this list only contains "user mappable" buttons.
159 */ 160 */
160 const QValueList<ODeviceButton> &buttons ( ) const; 161 const QValueList<ODeviceButton> &buttons ( );
161 162
162 /** 163 /**
163 * Returns the DeviceButton for the \a keyCode. If \a keyCode is not found, it 164 * Returns the DeviceButton for the \a keyCode. If \a keyCode is not found, it
164 * returns 0L 165 * returns 0L
165 */ 166 */
166 const ODeviceButton *buttonForKeycode ( ushort keyCode ); 167 const ODeviceButton *buttonForKeycode ( ushort keyCode );
167 168
168 /** 169 /**