mementoappui.h

来自「symbian手机加密记事本」· C头文件 代码 · 共 80 行

H
80
字号
/* 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 + =
减小字号Ctrl + -
显示快捷键?