mtmsexampleappui.h

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

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

#ifndef __MTMSEXAMPLEAPPUI_h__
#define __MTMSEXAMPLEAPPUI_h__

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

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

// FORWARD DECLARATIONS
class CMtmsExampleDialog;


// CLASS DECLARATION


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 // __MTMSEXAMPLEAPPUI_h__

// End of File

⌨️ 快捷键说明

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