mtmsexampleappui.h

来自「series60 应用程序开发的源代码 series60 应用程序开发的源代码」· C头文件 代码 · 共 53 行

H
53
字号
#ifndef MTMS_EXAMPLE_APPUI_H
#define MTMS_EXAMPLE_APPUI_H

// INCLUDES

// System includes 
#include <aknappui.h> // CAknAppUi

// User includes
#include "MtmsExampleEngine.h" // MMtmsExampleEngineObserver
#include "MtmsExample.hrh" // EMtmsExampleMaxAddressLength

// FORWARD DECLARATIONS
class CMtmsExampleDialog;


// CLASS DECLARATION

/**
*
* @class    CMtmsExampleAppUi MtmsExampleAppUi.h 
* @brief    This is the main application UI class for a Hello World example using a 
* dialog based architecture.  
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*/
class CMtmsExampleAppUi : public CAknAppUi, public MMtmsExampleEngineObserver
{
    public: // Constructors and destructor
        void ConstructL();
        ~CMtmsExampleAppUi();
        
    private:
        void NotifyMessageInvalidL();
        TInt GetAddressL();

    private: // from CAknAppUi
        void HandleCommandL(TInt aCommand);

    private: // from MMtmsExampleEngineObserver
        virtual void HandleMessageSentL(TInt aError);

    private: //Data
        CMtmsExampleDialog* iAppDialog; 
        CMtmsExampleEngine* iEngine;
        TBuf<EMtmsExampleMaxAddressLength> iAddress;
};

#endif  // #ifndef MTMS_EXAMPLE_APPUI_H

// End of File

⌨️ 快捷键说明

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