📄 mementoappui.h
字号:
/* Copyright (c) 2008, Nokia. All rights reserved */
#ifndef __MEMENTO_APPUI_H__
#define __MEMENTO_APPUI_H__
#include <aknviewappui.h>
#include "LoginView.h"
#include "DirView.h"
#include "DataManage.h"
#include "MementoMainView.h"
#include "MementoEditView.h"
/*!
@class CMementoAppUi
@discussion An instance of class CMementoAppUi is the UserInterface part of the AVKON
application framework for the Memento example application
*/
class CMementoAppUi : public CAknViewAppUi
{
public:
/*!
@function ConstructL
@discussion Perform the second phase construction of a CMementoAppUi object
this needs to be public due to the way the framework constructs the AppUi
*/
void ConstructL();
void ExitApp();
CDataManage* GetDataManage();
CMementoEditView* GetEditPtr();
CGulIcon* LoadGraphicsL(TInt aType);
void GetAppPath(TDes& aPath);
CDirView* GetDirPtr();
/*!
@function CMementoAppUi
@discussion Perform the first phase of two phase construction.
This needs to be public due to the way the framework constructs the AppUi
*/
CMementoAppUi();
/*!
@function ~CMementoAppUi
@discussion Destroy the object
*/
~CMementoAppUi();
public: // from CAknAppUi
/*!
@function HandleCommandL
@discussion Handle user menu selections
@param aCommand the enumerated code for the option selected
*/
void HandleCommandL(TInt aCommand);
private:
/*! @var iAppView The application view */
CLoginView* iLoginView;
CDirView* iDirView;
CDataManage* iDataManage;
CMementoMainView* iMain;
CMementoEditView* iEdit;
};
#endif // __MEMENTO_APPUI_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -