bluetoothpmpexampleappui.h

来自「symbian系统下」· C头文件 代码 · 共 91 行

H
91
字号
/*
* ============================================================================
*  Name     : CBluetoothPMPExampleAppUi from BluetoothPMPExampleAppUi.h
*  Part of  : BluetoothPMPExample
*  Created  : 06.06.2006 by Forum Nokia
*  Description:
*     Declares UI class for application.
*  Version  :
*  Copyright: Nokia Corporation
* ============================================================================
*/

#ifndef BLUETOOTHPMPEXAMPLEAPPUI_H
#define BLUETOOTHPMPEXAMPLEAPPUI_H

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

_LIT(KMsgSendFailed, "Can't send msg");

// FORWARD DECLARATIONS
class CBluetoothPMPExampleEngine;
class CBluetoothPMPExampleRTEContainer;

// CLASS DECLARATION

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

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

        /**
        * Destructor.
        */
        ~CBluetoothPMPExampleAppUi();

    public: // New functions
    
        CBluetoothPMPExampleRTEContainer& Container();    

    public: // Functions from base classes
        /**
        *  from CAknAppUiBase
        */
        void HandleResourceChangeL(TInt aType);

    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
		CBluetoothPMPExampleEngine* iEngine;
        CBluetoothPMPExampleRTEContainer* iContainer;


    };

#endif

// End of File

⌨️ 快捷键说明

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