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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libopie/odevice.h b/libopie/odevice.h
index 45a790b..0c55ea0 100644
--- a/libopie/odevice.h
+++ b/libopie/odevice.h
@@ -102,8 +102,14 @@ enum OHardKey {
HardKey_Suspend = Qt::Key_F34,
HardKey_Backlight = Qt::Key_F35,
};
+enum ODirection {
+ CW = 0,
+ CCW = 1,
+ Flip = 2,
+};
+
/**
* A singleton which gives informations about device specefic option
* like the Hardware used, LEDs, the Base Distribution and
* hardware key mappings.
@@ -149,8 +155,9 @@ public:
QString systemVersionString ( ) const;
Transformation rotation ( ) const;
+ ODirection direction ( ) const;
// system
virtual bool setSoftSuspend ( bool on );