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

📄 sendasexampleappui.h

📁 symbian下发送消息的例子,适合于新手
💻 H
字号:
#ifndef SENDASEXAMPLEAPPUI_H
#define SENDASEXAMPLEAPPUI_H

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

#include "SendAsExampleEngine.h" // MSendAsExampleEngineObserver
// FORWARD DECLARATIONS
class CSendAsExampleContainer;


// CLASS DECLARATION

/**
 *
 * @class	CSendAsExampleAppUi SendAsExampleAppUi.h
 * @brief	Application UI class.
 * Provides support for the following features:
 * - EIKON control architecture
 *
 * Copyright (c) EMCC Software Ltd 2003
 * @version	1.0
 *
 */
class CSendAsExampleAppUi : public CAknAppUi,
                            public MSendAsExampleEngineObserver
    {
    public: // // Constructors and destructor

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

        ~CSendAsExampleAppUi();

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

    private: // from MSendAsExampleEngineObserver
        virtual void HandleSaveMessageCompleteL(TInt aError);

    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
        CSendAsExampleContainer* iAppContainer;
        CSendAsExampleEngine* iEngine;
        TInt iMaxMtmCmdId;
    };

#endif

// End of File

⌨️ 快捷键说明

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