-rw-r--r-- | libopie/odevice.h | 27 |
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 @@ -33,6 +33,9 @@ class ODeviceData; namespace Opie { +/** + * The available devices + */ enum OModel { - Model_Unknown, + Model_Unknown, // = 0 Model_Series_Mask = 0xff000000, @@ -56,4 +59,7 @@ enum OModel { }; +/** + * The vendor of the device + */ enum OVendor { Vendor_Unknown, @@ -63,4 +69,7 @@ enum OVendor { }; +/** + * The System used + */ enum OSystem { System_Unknown, @@ -95,8 +104,20 @@ 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 { Q_OBJECT private: + /* disable copy */ ODevice ( const ODevice & ); @@ -109,6 +130,8 @@ protected: public: + // sandman do we want to allow destructions? -zecke? virtual ~ODevice ( ); + static ODevice *inst ( ); @@ -139,5 +162,5 @@ public: // input / output - + //FIXME playAlarmSound and al might be better -zecke virtual void alarmSound ( ); virtual void keySound ( ); |