Added fibration feedback feature.
[situare] / src / engine / mceprivate.h
index 095ee5e..cb4faf0 100644 (file)
@@ -41,9 +41,18 @@ public:
     * @brief Constructor.
     *
     * @param parent QObject
+    *
+    * Enables vibration mode.
     */
     MCEPrivate(QObject *parent);
 
+    /**
+    * @brief Destructor.
+    *
+    * Disables vibration mode.
+    */
+    ~MCEPrivate();
+
 /*******************************************************************************
  * MEMBER FUNCTIONS AND SLOTS
  ******************************************************************************/
@@ -55,6 +64,13 @@ public:
     */
     bool isDisplayOn();
 
+    /**
+    * @brief Vibrates the phone for short time.
+    *
+    * Uses pre-defined vibration pattern.
+    */
+    void vibrationFeedback();
+
 private slots:
     /**
     * @brief Slot for display state changed.
@@ -77,6 +93,11 @@ private slots:
     */
     void setDisplayState(const QString &state);
 
+    /**
+    * @brief Stops vibration.
+    */
+    void stopVibration();
+
 /*******************************************************************************
  * DATA MEMBERS
  ******************************************************************************/