smsexampleapp.h

来自「这个源码实现的是短信发送的功能!对于短信处理开发有很大的借鉴之处!」· C头文件 代码 · 共 57 行

H
57
字号
/*
* ============================================================================
*  Name     : CSMSExampleApp from SMSExampleApp.h
*  Part of  : SMSExample
*  Created  : 08.02.2005 by Forum Nokia
*  Description:
*     Declares main application class.
*  Version  : 1.0
*  Copyright: Nokia Corporation
* ============================================================================
*/

#ifndef SMSEXAMPLEAPP_H
#define SMSEXAMPLEAPP_H

// INCLUDES
#include <aknapp.h>

// CONSTANTS
// UID of the application
#ifdef __SERIES60_30__
const TUid KUidSMSExample = { 0xE01FF1Cd };
#else
const TUid KUidSMSExample = { 0x101FF1Cd };
#endif

// CLASS DECLARATION

/**
* CSMSExampleApp application class.
* Provides factory to create concrete document object.
*
*/
class CSMSExampleApp : public CAknApplication
    {

    public: // Functions from base classes
    private:

        /**
        * From CApaApplication, creates CSMSExampleDocument document object.
        * @return A pointer to the created document object.
        */
        CApaDocument* CreateDocumentL();

        /**
        * From CApaApplication, returns application's UID (KUidSMSExample).
        * @return The value of KUidSMSExample.
        */
        TUid AppDllUid() const;
    };

#endif

// End of File

⌨️ 快捷键说明

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