aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-07-31 10:33:14 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-07-31 10:33:14 -0500
commit9d32289feda6d72e53bcf7e77e2cbef09f88165e (patch)
tree41f34b4555683045e9bbf7d33b3284452d176941
parente2e259126c0d5c834135014d85430ffcfc885588 (diff)
downloadayatana-indicator-datetime-9d32289feda6d72e53bcf7e77e2cbef09f88165e.tar.gz
ayatana-indicator-datetime-9d32289feda6d72e53bcf7e77e2cbef09f88165e.tar.bz2
ayatana-indicator-datetime-9d32289feda6d72e53bcf7e77e2cbef09f88165e.zip
in indicator::noficiations::Haptic, better naming of the Mode enum
-rw-r--r--include/notifications/haptic.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/notifications/haptic.h b/include/notifications/haptic.h
index 3036485..d82d1c9 100644
--- a/include/notifications/haptic.h
+++ b/include/notifications/haptic.h
@@ -36,9 +36,12 @@ namespace notifications {
class Haptic
{
public:
- enum Mode { VIBRATE_DEFAULT };
+ enum Mode
+ {
+ MODE_PULSE
+ };
- Haptic(const Mode& mode = VIBRATE_DEFAULT);
+ Haptic(const Mode& mode = MODE_PULSE);
~Haptic();
private: