⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 shoppinglistappui.h

📁 Symbian 的购物程序 shoppinglist-vc
💻 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

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -