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

📄 sendappuiexampleappui.h

📁 series60 应用程序开发的源代码 series60 应用程序开发的源代码
💻 H
字号:
#ifndef SEND_EXAMPLE_APPUI_H
#define SEND_EXAMPLE_APPUI_H

// INCLUDES

// System includes 
#include <aknappui.h> // CAknAppUi
#include <sendui.h>   // TSendingCapabilities, CSendAppUi


// FORWARD DECLARATIONS
class CSendAppUiExampleDialog;


// CLASS DECLARATION

/**
*
* @class    CSendAppUiExampleAppUi SendAppUiExampleAppUi.h 
* @brief    This is the application UI class for an example which demonstrates
*           the use of the Series 60 class CSendAppUi.  
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*/
class CSendAppUiExampleAppUi : public CAknAppUi
{
    public:     // Constructors and destructor
        void ConstructL();
        ~CSendAppUiExampleAppUi();

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

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

    private:
        void CreateSMSL();
        void CreateEmailL();
        void CreateMMSL();

        // Displays a list of message types satisfying specified sending capabilities
        void CreateGeneralMessageL();

        // Displays a message of the type the user has selected from the cascaded send menu
        TBool HandleSendAppUiCommandL(TInt aCommand);

    private: // Data
        CSendAppUi*          iSendAppUi;
        CSendAppUiExampleDialog*  iAppDialog;
        TSendingCapabilities iSendAppUiCapabilities;
        CRichText*           iRichText;

    private: // Panic code
        enum TPanicCode
        {
            EBadCommandId,
            ERichTextNotReady
        };
        inline void Panic(TPanicCode aCode);
};


_LIT(KSendAppUiExampleAppUiPanicString, "CSendAppUiExampleAppUi");
inline void CSendAppUiExampleAppUi::Panic(TPanicCode aCode)
{
    User::Panic(KSendAppUiExampleAppUiPanicString, aCode);
}


#endif  // SEND_EXAMPLE_APPUI_H

// End of File

⌨️ 快捷键说明

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