1 #ifndef picodriveapps60h
\r
2 #define picodriveapps60h
\r
7 #include <coecntrl.h>
\r
10 #include <eikappui.h>
\r
11 class CPicoView:public MCoeView,public CCoeControl
\r
16 void ConstructL(){CreateWindowL();SetRect(iEikonEnv->EikAppUi()->ClientRect());ActivateL();SetBlank();};
\r
17 void ViewDeactivated(){MakeVisible(EFalse);};
\r
18 void ViewActivatedL(const TVwsViewId& /*aPrevViewId*/,TUid /*aCustomMessageId*/,const TDesC8& /*aCustomMessage*/)
\r
22 TVwsViewId ViewId() const
\r
24 TVwsViewId viewId(TUid::Uid(0x101F9B49),TUid::Uid(0x101010));
\r
29 class CPicoDrive:public CEikApplication
\r
34 CApaDocument* CreateDocumentL();
\r
35 TUid AppDllUid() const;
\r
41 class CPicoDriveDoc:public CAknDocument
\r
45 CEikAppUi* CreateAppUiL();
\r
47 CPicoDriveDoc(CEikApplication& aApplicaiton);
\r
50 #include <aknappui.h>
\r
52 class CPicoWatcher:public CActive
\r
59 CPicoDriveUi* iAppUi;
\r
62 class CPicoDriveUi:public CAknAppUi
\r
68 void HandleCommandL(TInt aCommand);
\r
69 void HandleForegroundEventL(TBool aForeground);
\r
70 void BringUpEmulatorL();
\r
73 TThreadId iThreadId;
\r
75 RThread iThreadWatch;
\r
76 CPicoWatcher* iWatcher;
\r