choicelistexappui.h

来自「symbian touch ChoiceList 示例」· C头文件 代码 · 共 84 行

H
84
字号
/**
 * Copyright (c) 2007 Nokia Corporation.
 * This material, including documentation and any related
 * computer programs, is protected by
 * copyright controlled by Nokia Corporation.
 */


#ifndef __CHOICELISTEX_APPUI_H__
#define __CHOICELISTEX_APPUI_H__

// INCLUDES
#include <aknappui.h>

// FORWARD DECLARATIONS
class CChoiceListExContainer;

// CLASS DECLARATION
/**
 * CChoiceListExAppUi application UI class.
 * Interacts with the user through the UI and request message processing
 * from the handler class
 */
class CChoiceListExAppUi : public CAknAppUi
    {
public:

   /**
    * ConstructL.
    * 2nd phase constructor.
    */
    void ConstructL();

   /**
    * CChoiceListExAppUi.
    * C++ default constructor. This needs to be public due to
    * the way the framework constructs the AppUi
    */
    CChoiceListExAppUi();

   /**
    * ~CChoiceListExAppUi.
    * Virtual Destructor.
    */
    virtual ~CChoiceListExAppUi();

public: // from CEikAppui

   /**
    * From CEikAppUi, HandleCommandL.
    * Takes care of command handling.
    * @param aCommand Command to be handled.
    */
    void HandleCommandL( TInt aCommand );

public: // from MEikMenuObserver

   /*
    * From MEikMenuObserver, DynInitMenuPaneL
    * Called by the framework to update options menu
    * @param aResourceId The ID of the menu pane.
    * @param aMenuPane The menu pane itself.
    */
    void DynInitMenuPaneL( TInt aMenuId, CEikMenuPane* aMenuPane );    
    
private: // data

   /*
    * Pointer to the container
    * own
    */
    CChoiceListExContainer* iAppContainer;
    
   /*
    * Flags for options menu updating
    */
    TBitFlags  iMenuFlags;
        
    };


#endif // __CHOICELISTEX_APPUI_H__

⌨️ 快捷键说明

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