--- a/usbuis/usbuinotif/inc/usbuinotifmsmmerror.h Tue Jan 26 12:55:41 2010 +0200
+++ b/usbuis/usbuinotif/inc/usbuinotifmsmmerror.h Tue Feb 02 00:52:37 2010 +0200
@@ -23,6 +23,8 @@
#include "usbnotifier.h" // Base class
#include <AknQueryDialog.h> // AVKON component
+#include "usbuinotifdialerwatcher.h"
+
#define KUsbUiNotifOtgGeneralQueryGranularity 3
// CLASS DECLARATION
@@ -32,7 +34,7 @@
*
* @lib
*/
-NONSHARABLE_CLASS(CUsbUiNotifMSMMError) : public CUSBUINotifierBase
+NONSHARABLE_CLASS(CUsbUiNotifMSMMError) : public CUSBUINotifierBase, public MDialerNotifier
{
public:
@@ -95,6 +97,23 @@
*/
void GetParamsL(const TDesC8& aBuffer, TInt aReplySlot,
const RMessagePtr2& aMessage);
+
+private:
+
+ /**
+ * From MDialerNotifier
+ * The function to be when Dialaer is activated
+ *
+ */
+ void DialerActivated();
+
+ /**
+ * From MDialerNotifier
+ * The function to be when Dialaer is deactivated
+ * and note can be shown again
+ *
+ */
+ void ReActivateDialog();
private:
@@ -121,5 +140,14 @@
CAknQueryDialog* iQuery;
RArray<TInt> iStringIds;
TInt iErrorId;
+ /**
+ * Dialer watcher
+ * Own.
+ */
+ CUsbuinotifDialerWatcher* iDialerWatcher;
+ /**
+ * Dialog is dismissed.
+ */
+ TBool iDismissed;
};
#endif // USBUINOTIFMSMMERROR_H