--- a/phonesrv_plat/dialpad_api/inc/dialpadkeyhandler.h Wed Jun 23 18:49:32 2010 +0300
+++ b/phonesrv_plat/dialpad_api/inc/dialpadkeyhandler.h Tue Jul 06 14:53:02 2010 +0300
@@ -26,6 +26,7 @@
class DialpadBluetoothEventFilter;
class DialpadKeySequenceEventFilter;
class DialpadEmergencyCallEventFilter;
+class DialpadHashEventFilter;
class HbMainWindow;
#ifdef BUILD_DIALPADKEYHANDLER
@@ -61,7 +62,9 @@
/*! Enables handling of key sequences like *#06# for showing IMEI. */
KeySequence = 0x0008,
/*! Forced handling for emergency call. */
- EmergencyCall = 0x0010
+ EmergencyCall = 0x0010,
+ /*! Enables and disables silent mode with a long '#' key press. */
+ Hash = 0x23
};
Q_DECLARE_FLAGS(DialpadKeyEventFilters, DialpadKeyEventFilter)
@@ -92,6 +95,7 @@
QScopedPointer<DialpadBluetoothEventFilter> mBtFilter;
QScopedPointer<DialpadKeySequenceEventFilter> mKeySequenceFilter;
QScopedPointer<DialpadEmergencyCallEventFilter> mEmergencyCallFilter;
+ QScopedPointer<DialpadHashEventFilter> mHashFilter;
};
#endif // DIALPADKEYHANDLER_H