summaryrefslogtreecommitdiff
path: root/libopie/odevice.h
Side-by-side diff
Diffstat (limited to 'libopie/odevice.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/odevice.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libopie/odevice.h b/libopie/odevice.h
index b54e576..eeae357 100644
--- a/libopie/odevice.h
+++ b/libopie/odevice.h
@@ -44,49 +44,51 @@ enum OVendor {
};
enum OSystem {
OSYSTEM_Unknown,
OSYSTEM_Familiar,
OSYSTEM_Zaurus,
OSYSTEM_OpenZaurus
};
enum OLedState {
OLED_Off,
OLED_On,
OLED_BlinkSlow,
OLED_BlinkFast
};
class ODevice
{
public:
public:
static ODevice *inst ( );
-
+
+// system
+ virtual bool suspend ( );
// information
QString modelString ( );
OModel model ( );
QString vendorString ( );
OVendor vendor ( );
QString systemString ( );
OSystem system ( );
QString systemVersionString ( );
// input / output
virtual void alarmSound ( );
virtual void keySound ( );
virtual void touchSound ( );
virtual uint hasLeds ( ) const;
virtual OLedState led ( uint which ) const;
virtual bool setLed ( uint which, OLedState st );