summaryrefslogtreecommitdiff
path: root/libopie/odevice.h
Side-by-side diff
Diffstat (limited to 'libopie/odevice.h') (more/less context) (show whitespace changes)
-rw-r--r--libopie/odevice.h27
1 files changed, 25 insertions, 2 deletions
diff --git a/libopie/odevice.h b/libopie/odevice.h
index ff578d8..45a790b 100644
--- a/libopie/odevice.h
+++ b/libopie/odevice.h
@@ -34,4 +34,7 @@ namespace Opie {
+/**
+ * The available devices
+ */
enum OModel {
- Model_Unknown,
+ Model_Unknown, // = 0
@@ -57,2 +60,5 @@ enum OModel {
+/**
+ * The vendor of the device
+ */
enum OVendor {
@@ -64,2 +70,5 @@ enum OVendor {
+/**
+ * The System used
+ */
enum OSystem {
@@ -96,2 +105,13 @@ enum OHardKey {
+/**
+ * A singleton which gives informations about device specefic option
+ * like the Hardware used, LEDs, the Base Distribution and
+ * hardware key mappings.
+ *
+ *
+ * @short A small class for device specefic options
+ * @see QObject
+ * @author Robert Griebl
+ * @version 1.0
+ */
class ODevice : public QObject {
@@ -100,2 +120,3 @@ class ODevice : public QObject {
private:
+ /* disable copy */
ODevice ( const ODevice & );
@@ -110,4 +131,6 @@ protected:
public:
+ // sandman do we want to allow destructions? -zecke?
virtual ~ODevice ( );
+
static ODevice *inst ( );
@@ -140,3 +163,3 @@ public:
// input / output
-
+ //FIXME playAlarmSound and al might be better -zecke
virtual void alarmSound ( );