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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libopie/odevice.h b/libopie/odevice.h
index 5009b91..ee01f0f 100644
--- a/libopie/odevice.h
+++ b/libopie/odevice.h
@@ -64,12 +64,18 @@ class ODevice
public:
public:
static ODevice *inst ( );
// system
+ enum PowerButtonHandler {
+ KERNEL,
+ OPIE
+ };
+
+ virtual bool setPowerButtonHandler ( PowerButtonHandler h );
virtual bool suspend ( );
// information
QString modelString ( );
OModel model ( );