summaryrefslogtreecommitdiff
path: root/libopie2/opiecore/device/odevice.h
Side-by-side diff
Diffstat (limited to 'libopie2/opiecore/device/odevice.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/device/odevice.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/libopie2/opiecore/device/odevice.h b/libopie2/opiecore/device/odevice.h
index 8ae7ffa..791ccb3 100644
--- a/libopie2/opiecore/device/odevice.h
+++ b/libopie2/opiecore/device/odevice.h
@@ -224,12 +224,11 @@ public:
// protected virtual int virtual_hook(int, void *)
// which is defined below
// input / output
- //FIXME playAlarmSound and al might be better -zecke
- virtual void alarmSound();
- virtual void keySound();
- virtual void touchSound();
+ virtual void playAlarmSound();
+ virtual void playKeySound();
+ virtual void playTouchSound();
virtual QValueList <OLed> ledList() const;
virtual QValueList <OLedState> ledStateList ( OLed led ) const;
virtual OLedState ledState ( OLed led ) const;
@@ -249,10 +248,13 @@ public:
* Returns the available buttons on this device. The number and location
* of buttons will vary depending on the device. Button numbers will be assigned
* by the device manufacturer and will be from most preferred button to least preffered
* button. Note that this list only contains "user mappable" buttons.
+ *
+ * @todo Make method const and take care of calling initButtons or make that const too
+ *
*/
- const QValueList<ODeviceButton> &buttons() /* ### make const */;
+ const QValueList<ODeviceButton> &buttons();
/**
* Returns the DeviceButton for the \a keyCode. If \a keyCode is not found, it
* returns 0L