summaryrefslogtreecommitdiff
path: root/libopie/odevice.h
authorschurig <schurig>2003-06-06 13:19:33 (UTC)
committer schurig <schurig>2003-06-06 13:19:33 (UTC)
commit78a5ebf10450a99211a5e86be1abc0397b749db3 (patch) (side-by-side diff)
treeb23ff8714bf718cefd1360525fce8a32e688611b /libopie/odevice.h
parentfdab8e90076ead49141ed13300e0996ab8dce7da (diff)
downloadopie-78a5ebf10450a99211a5e86be1abc0397b749db3.zip
opie-78a5ebf10450a99211a5e86be1abc0397b749db3.tar.gz
opie-78a5ebf10450a99211a5e86be1abc0397b749db3.tar.bz2
beginnings of cpu frequency changes
Diffstat (limited to 'libopie/odevice.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/odevice.h10
1 files changed, 7 insertions, 3 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 @@
#include <qobject.h>
#include <qstring.h>
#include <qnamespace.h>
+#include <qstrlist.h>
#include <opie/odevicebutton.h>
@@ -149,13 +150,12 @@ protected:
ODeviceData *d;
public:
- // sandman do we want to allow destructions? -zecke?
+ // sandman do we want to allow destructions? -zecke?
virtual ~ODevice ( );
-
static ODevice *inst ( );
-// information
+ // information
QString modelString ( ) const;
OModel model ( ) const;
@@ -198,6 +198,10 @@ public:
virtual int readLightSensor ( );
virtual int lightSensorResolution ( ) const;
+ QStrList &cpuFrequencies() const;
+ bool setCpuFrequency(uint index);
+ uint cpuFrequency() const;
+
/**
* Returns the available buttons on this device. The number and location
* of buttons will vary depending on the device. Button numbers will be assigned