📄 helpergeniusappui.h
字号:
/* Copyright (c) 2008, Nokia. All rights reserved */
#ifndef __HELPERGENIUS_APPUI_H__
#define __HELPERGENIUS_APPUI_H__
#include <aknviewappui.h>
#include "UserInfo.h"
#include "MtmsExampleEngine.h"
#include <msvapi.h>
#include "HttpManager.h"
class CAknViewAppUi;
class CRegisterView;
class CLogonView;
class CMyGridView;
class CNoteView;
class CAddNoteView;
class CBrowseNoteView;
class CModifyNoteView;
class CHelpView;
class CNoteInfo;
class CSmsView;
class CEditSmsView;
class CInBoxDraftsSentView;
class CPBListView;
class CPBItemView;
/*!
@class CHelperGeniusAppUi
@discussion An instance of class CHelperGeniusAppUi is the UserInterface part of the AVKON
application framework for the HelperGenius example application
*/
class CHelperGeniusAppUi : public CAknViewAppUi
{
public:
/*!
@function ConstructL
@discussion Perform the second phase construction of a CHelperGeniusAppUi object
this needs to be public due to the way the framework constructs the AppUi
*/
void ConstructL();
/*!
@function CHelperGeniusAppUi
@discussion Perform the first phase of two phase construction.
This needs to be public due to the way the framework constructs the AppUi
*/
CHelperGeniusAppUi();
void GetAppPath(TDes& aPath);
CGulIcon* LoadGraphicsL(TInt aType);
/*!
@function ~CHelperGeniusAppUi
@discussion Destroy the object
*/
~CHelperGeniusAppUi();
public: // from CAknAppUi
/*!
@function HandleCommandL
@discussion Handle user menu selections
@param aCommand the enumerated code for the option selected
*/
void HandleCommandL(TInt aCommand);
CArrayVarFlat<CNoteInfo>* GetArray() const;
CArrayVarFlat<CUserInfo>* GetPointerOfArrayForUserInfo() const;
CSmsView* GetPointerSmsView();
CHttpManager* GetPtrHttp( );//获得网络引擎管理指针
private:
/*! @var iAppView The application view */
CRegisterView* m_pRegisterView;
CLogonView* m_pLogonView;
CMyGridView* m_pFunctionView;
CNoteView* m_pNoteView;
CBrowseNoteView* m_pLookView;
CAddNoteView* m_pAddView;
CModifyNoteView* m_pReworkView;
CHelpView* m_pHelpView;
CSmsView* m_pSmsView;
CEditSmsView* m_pEditSmsView;
CInBoxDraftsSentView* m_pInBoxDraftsSentView;
CArrayVarFlat<CNoteInfo>* iNoteInfo;
CArrayVarFlat<CUserInfo>* iUserInfo;
CHttpManager* m_pHttp;//网络管理指针
CPBListView* i_pListView;
CPBItemView* i_pItemView;
public:
// void GetAppPath(TDes& aPath);
CMtmsExampleEngine* m_pMtmsExampleEngine;
CPBItemView* GetView();
};
#endif // __HELPERGENIUS_APPUI_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -