--- a/libraries/iosrv/client/command_base.h Wed Aug 25 22:17:52 2010 +0100
+++ b/libraries/iosrv/client/command_base.h Thu Aug 26 00:49:35 2010 +0100
@@ -52,6 +52,20 @@
};
void Panic(TCmdBasePanic aReason);
+
+ NONSHARABLE_CLASS(CKeypressWatcher) : public CActive
+ {
+ public:
+ CKeypressWatcher(IoUtils::MCommandExtensionsV2& aCmd, RIoConsoleReadHandle& aReadHandle);
+ ~CKeypressWatcher();
+ void Notify();
+ private:
+ virtual void RunL();
+ virtual void DoCancel();
+ private:
+ IoUtils::MCommandExtensionsV2& iCmd;
+ RIoConsoleReadHandle& iReadHandle;
+ };
}
#endif //__COMMAND_BASE_H__