dialogapp.h

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

H
53
字号
/*
* ============================================================================
*  Name     : CDialogApp from DialogApp.h
*  Part of  : Dialog
*  Created  : 2006-1-8 by Hewei
*  Description:
*     Declares main application class.
*  Version  :
*  Copyright: Myself
* ============================================================================
*/

#ifndef DIALOGAPP_H
#define DIALOGAPP_H

// INCLUDES
#include <aknapp.h>

// CONSTANTS
// UID of the application
const TUid KUidDialog = { 0x0391F130 };

// CLASS DECLARATION

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

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

#endif

// End of File

⌨️ 快捷键说明

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