examples/ForumNokia/ThreadAndActiveObjectsEx/inc/threadaoappui.h

00001 /*
00002  * Copyright © 2008 Nokia Corporation.
00003  */
00004 
00005 
00006 #ifndef __THREADAO_APPUI_H__
00007 #define __THREADAO_APPUI_H__
00008 
00009 // INCLUDES
00010 #include <aknappui.h>
00011 
00012 // FORWARD DECLARATIONS
00013 class CThreadAOEngine;
00014 class CDeviceListContainer;
00015 class CSharedIntermediator;
00016 class CListboxRefreshTimer;
00017 
00018 // CLASS DECLARATION
00019 
00024 class CThreadAOAppUi : public CAknAppUi
00025     {
00026 public:
00027 
00034     void ConstructL();
00035 
00042     CThreadAOAppUi();
00043 
00049     ~CThreadAOAppUi();
00050 
00051 public: // from CAknAppUi
00058     void HandleCommandL(TInt aCommand);
00059 
00060 private:
00064         void HandleStatusPaneSizeChange();   
00065 
00066 private:
00067     TBool TurnBtOnL();
00068         
00069 private:  //member data
00070 
00071         // Container of the view
00072         CDeviceListContainer* iContainer;
00073 
00074         // Shared intermediator. Transmits data between thread1 and the mainthread
00075         CSharedIntermediator* iSMediator;
00076 
00077         // Thread engine
00078         CThreadAOEngine* iThreadEngine;
00079 
00080         // True if the bluetooth search has been activated, false otherwise
00081         TBool iThreadStarted;
00082 
00083         // Listbox refresher
00084         CListboxRefreshTimer* iTimer;
00085         };
00086 
00087 #endif // __THREAD_APPUI_H__

Generated by  doxygen 1.6.2