summaryrefslogtreecommitdiff
path: root/libopie/odevice.h
Unidiff
Diffstat (limited to 'libopie/odevice.h') (more/less context) (show whitespace changes)
-rw-r--r--libopie/odevice.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libopie/odevice.h b/libopie/odevice.h
index 0974e8d..7f6f856 100644
--- a/libopie/odevice.h
+++ b/libopie/odevice.h
@@ -23,6 +23,7 @@
23#include <qobject.h> 23#include <qobject.h>
24#include <qstring.h> 24#include <qstring.h>
25#include <qnamespace.h> 25#include <qnamespace.h>
26#include <qstrlist.h>
26 27
27#include <opie/odevicebutton.h> 28#include <opie/odevicebutton.h>
28 29
@@ -152,7 +153,6 @@ public:
152 // sandman do we want to allow destructions? -zecke? 153 // sandman do we want to allow destructions? -zecke?
153 virtual ~ODevice ( ); 154 virtual ~ODevice ( );
154 155
155
156 static ODevice *inst ( ); 156 static ODevice *inst ( );
157 157
158// information 158// information
@@ -198,6 +198,10 @@ public:
198 virtual int readLightSensor ( ); 198 virtual int readLightSensor ( );
199 virtual int lightSensorResolution ( ) const; 199 virtual int lightSensorResolution ( ) const;
200 200
201 QStrList &cpuFrequencies() const;
202 bool setCpuFrequency(uint index);
203 uint cpuFrequency() const;
204
201 /** 205 /**
202 * Returns the available buttons on this device. The number and location 206 * Returns the available buttons on this device. The number and location
203 * of buttons will vary depending on the device. Button numbers will be assigned 207 * of buttons will vary depending on the device. Button numbers will be assigned