s60clientservlabappui.h

来自「S60培训教材代码」· C头文件 代码 · 共 84 行

H
84
字号
/*
* ============================================================================
*  Name     : CS60ClientServLabAppUi from S60ClientServLabAppUi.h
*  Part of  : S60ClientServLab
*  Created  : 15/07/2003 by Neil Binns
*  Description:
*     Declares UI class for application.
*  Version  :
*  Copyright: (c) 2003 Nokia.  All rights reserved.
* ============================================================================
*/

#ifndef S60CLIENTSERVLABAPPUI_H
#define S60CLIENTSERVLABAPPUI_H

// INCLUDES
#include <eikapp.h>
#include <eikdoc.h>
#include <e32std.h>
#include <coeccntx.h>
#include <aknappui.h>

// FORWARD DECLARATIONS
class CS60ClientServLabContainer;


// CONSTANTS
//const ?type ?constant_var = ?constant;


// CLASS DECLARATION

/**
* Application UI class.
* Provides support for the following features:
* - EIKON control architecture
* 
*/
class CS60ClientServLabAppUi : public CAknAppUi
    {
    public: // // Constructors and destructor

        /**
        * EPOC default constructor.
        */      
        void ConstructL();

        /**
        * Destructor.
        */      
        ~CS60ClientServLabAppUi();
        
    public: // New functions

    public: // Functions from base classes

    private:
        // From MEikMenuObserver
        void DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane);

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

        /**
        * From CEikAppUi, handles key events.
        * @param aKeyEvent Event to handled.
        * @param aType Type of the key event. 
        * @return Response code (EKeyWasConsumed, EKeyWasNotConsumed). 
        */
        virtual TKeyResponse HandleKeyEventL(
            const TKeyEvent& aKeyEvent,TEventCode aType);

    private: //Data
        CS60ClientServLabContainer* iAppContainer; 
    };

#endif

// End of File

⌨️ 快捷键说明

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