?? shoppinglistappui.h
字號:
/* Copyright (c) 2004, Nokia. All rights reserved */
#ifndef __SHOPPINGLIST_APPUI_H__
#define __SHOPPINGLIST_APPUI_H__
// INCLUDES
#include <aknappui.h>
#include <coecntrl.h>
#include <aknlists.h>
// CONSTANTS
const TInt KTextBufferLength = 40;
_LIT( KNewitem,"New item" );
// FORWARD DECLARATIONS
class CShoppingListDocument;
class CShoppingListAppView;
// CLASS DECLARATION
/**
* CShoppingListAppUi
* An instance of class CShoppingListAppUi is the UserInterface part of the AVKON
* application framework for the ShoppingList example application
*/
class CShoppingListAppUi : public CAknAppUi
{
public:
/**
* CShoppingListAppUi
* Perform the first phase of two phase construction.
* This needs to be public due to the way the framework constructs
* the AppUi
*/
CShoppingListAppUi();
/**
* ConstructL
* 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();
/**
* ~CShoppingListAppUi
* Destructor
*/
virtual ~CShoppingListAppUi();
/**
* GetDocument
* Get a pointer to the application Document object
* @return a pointer to the application Document object
*/
CShoppingListDocument* GetDocument();
public: // from CAknAppUi
/**
* HandleCommandL
* Handle user menu selections
* @param aCommand The enumerated code for the option selected
*/
void HandleCommandL( TInt aCommand );
/**
* HandleModelChangeL
* Handle an event which has caused the shopping list to change
*/
void HandleModelChangeL();
private:
/**
* iAppView
* Owned by CShoppingListAppUi object.
*/
CShoppingListAppView* iAppView;
};
#endif // __SHOPPINGLIST_APPUI_H__
// End of File
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -