diff -r 47c263f7e521 -r 7e15987c4500 usbuis/usbuinotif/inc/usbuinotifotgerror.h --- a/usbuis/usbuinotif/inc/usbuinotifotgerror.h Tue Jan 26 12:55:41 2010 +0200 +++ b/usbuis/usbuinotif/inc/usbuinotifotgerror.h Tue Feb 02 00:52:37 2010 +0200 @@ -23,6 +23,8 @@ #include "usbnotifier.h" // Base class #include // AVKON component +#include "usbuinotifdialerwatcher.h" + #define KUsbUiNotifOtgGeneralQueryGranularity 3 // CLASS DECLARATION @@ -32,7 +34,7 @@ * * @lib */ -NONSHARABLE_CLASS(CUsbUiNotifOtgError) : public CUSBUINotifierBase +NONSHARABLE_CLASS(CUsbUiNotifOtgError) : public CUSBUINotifierBase, public MDialerNotifier { public: // Constructors and destructor @@ -85,6 +87,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: @@ -111,5 +130,14 @@ CAknQueryDialog* iQuery; RArray iStringIds; TInt iErrorId; + /** + * Dialer watcher + * Own. + */ + CUsbuinotifDialerWatcher* iDialerWatcher; + /** + * Dialog is dismissed. + */ + TBool iDismissed; }; #endif // USBUINOTIFOTGERROR_H