examples/ForumNokia/Symbian_OS_End-to-End_Sockets_API_Example/SocketTaskManager_S60/inc/TaskManagerAppUi.h

00001 /*
00002 * ============================================================================
00003 *  Name     : CTaskManagerAppUi from TaskManagerAppUi.h
00004 *  Part of  : TaskManager
00005 *  Created  : 15/03/2006 by Forum Nokia
00006 *  Description:
00007 *     Declares UI class for application.
00008 *  Version  : 1.2
00009 *  Copyright: Nokia Corporation
00010 * ============================================================================
00011 */
00012 
00013 #ifndef __TASKMANAGER_APPUI_H__
00014 #define __TASKMANAGER_APPUI_H__
00015 
00016 // INCLUDE FILES
00017 #include "TaskManagerConnInfo.h"
00018 
00019 #include <aknappui.h>
00020 
00021 // FORWARD DECLARATIONS
00022 class CTaskManagerAppView;
00023 class CTaskManagerEngine;
00024 
00025 // CLASS DECLARATION
00026 
00033 class CTaskManagerAppUi : public CAknAppUi
00034         {
00035 public: // Constructors and destructor
00036 
00040         void ConstructL();
00041 
00045         ~CTaskManagerAppUi();
00046         
00047 public: // New functions
00048 
00053         CTaskManagerEngine& Model();
00054         
00059         void ShowConnectingCbaL(const TBool& aShow);    
00060         
00066         void SetViewBusyL(const TBool& aBusy);
00067 
00068 
00069 public: // Functions from base classes
00070 
00075         void HandleCommandL(TInt aCommand);
00076         
00081         void HandleForegroundEventL(TBool aForeground);
00082         
00083 private: // New functions
00084 
00088         void InternalizeConnInfoL();
00089         
00093         void ExternalizeConnInfoL();
00094         
00098         void SetAutomaticUpdateL();
00099 
00100 private: // Data members
00101 
00102         CTaskManagerAppView* iAppView;
00103         CTaskManagerEngine* iEngine;
00104         TTaskManagerConnInfo iConnectionInfo;
00105         TFileName iSettingsFile;
00106         TBool iViewBusy;
00107         TBool iUiBusy;
00108     
00109         };
00110 
00111 
00112 #endif // __TASKMANAGER_APPUI_H__
00113 
00114 // End of file
00115 
00116 

Generated by  doxygen 1.6.2