ansphoneappui.h

来自「symbianOS第三版开发与实用教程部分源码和部分试验」· C头文件 代码 · 共 83 行

H
83
字号
/*
============================================================================
 Name        : AnsPhoneAppUi.h
 Author      : Lion
 Copyright   : Your copyright notice
 Description : Declares UI class for application.
============================================================================
*/

#ifndef __ANSPHONEAPPUI_h__
#define __ANSPHONEAPPUI_h__

// INCLUDES
#include <aknappui.h>


// FORWARD DECLARATIONS
class CAnsPhoneAppView;


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

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

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

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

    private:  // Functions from base classes

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

        /**
        *  HandleStatusPaneSizeChange.
        *  Called by the framework when the application status pane
 		*  size is changed.
        */

		//void HandleStatusPaneSizeChange();
        void DynInitMenuPaneL(TInt aResourceId, CEikMenuPane* aMenuPane);
    public:
        void BringAppToFront();
    private: // Data

        /**
        * The application view
        * Owned by CAnsPhoneAppUi
        */
        CAnsPhoneAppView* iAppView;
        
        
    };

#endif // __ANSPHONEAPPUI_h__

// End of File

⌨️ 快捷键说明

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