From 78a5ebf10450a99211a5e86be1abc0397b749db3 Mon Sep 17 00:00:00 2001 From: schurig Date: Fri, 06 Jun 2003 13:19:33 +0000 Subject: beginnings of cpu frequency changes --- (limited to 'libopie/odevice.h') 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 #include #include +#include #include @@ -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 -- cgit v0.9.0.2