helloworld2app.h

来自「《基于symbian手机开发与应用》一书的源代码」· C头文件 代码 · 共 53 行

H
53
字号
/*
* ============================================================================
*  Name     : CHelloWorld2App from HelloWorld2App.h
*  Part of  : HelloWorld2
*  Created  : 2006-3-14 by 
*  Description:
*     Declares main application class.
*  Version  :
*  Copyright: 
* ============================================================================
*/

#ifndef HELLOWORLD2APP_H
#define HELLOWORLD2APP_H

// INCLUDES
#include <aknapp.h>

// CONSTANTS
// UID of the application
const TUid KUidHelloWorld2 = { 0x0A263C9F };

// CLASS DECLARATION

/**
* CHelloWorld2App application class.
* Provides factory to create concrete document object.
* 
*/
class CHelloWorld2App : public CAknApplication
    {
    
    public: // Functions from base classes
    private:

        /**
        * From CApaApplication, creates CHelloWorld2Document document object.
        * @return A pointer to the created document object.
        */
        CApaDocument* CreateDocumentL();
        
        /**
        * From CApaApplication, returns application's UID (KUidHelloWorld2).
        * @return The value of KUidHelloWorld2.
        */
        TUid AppDllUid() const;
    };

#endif

// End of File

⌨️ 快捷键说明

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