📄 shoppinglistappui.h
字号:
/* Copyright (c) 2003, Nokia. All rights reserved */
#ifndef __SHOPPINGLIST_APPUI_H__
#define __SHOPPINGLIST_APPUI_H__
#include <aknappui.h>
#include <coecntrl.h>
#include <aknlists.h>
class CShoppingListDocument;
class CShoppingListAppView;
/*!
@class CShoppingListAppUi
@discussion An instance of class CShoppingListAppUi is the UserInterface part of the AVKON
application framework for the ShoppingList example application
*/
class CShoppingListAppUi : public CAknAppUi
{
public:
/*!
@function CShoppingListAppUi
@discussion Perform the first phase of two phase construction.
This needs to be public due to the way the framework constructs the AppUi
*/
CShoppingListAppUi();
/*!
@function ConstructL
@discussion Perform the second phase construction of a CShoppingListAppUi object.
This needs to be public due to the way the framework constructs the AppUi
*/
void ConstructL();
/*!
@function ~CShoppingListAppUi
@discussion Destroy the object.
*/
~CShoppingListAppUi();
/*!
@function GetDocument
@discussion Get a pointer to the application Document object
@return a pointer to the application Document object
*/
CShoppingListDocument* GetDocument();
public: // from CAknAppUi
/*!
@function HandleCommandL
@discussion Handle user menu selections
@param aCommand The enumerated code for the option selected
*/
void HandleCommandL(TInt aCommand);
/*!
@function HandleModelChangeL
@discussion Handle an event which has caused the shopping list to change
*/
void HandleModelChangeL();
private:
/*! @var iAppView The application view */
CShoppingListAppView* iAppView;
};
#endif // __SHOPPINGLIST_APPUI_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -