helloviewapplication.h

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

H
48
字号
/*
============================================================================
 Name        : HelloViewApplication.h
 Author      : Lion
 Copyright   : Your copyright notice
 Description : Declares main application class.
============================================================================
*/

#ifndef __HELLOVIEWAPPLICATION_H__
#define __HELLOVIEWAPPLICATION_H__

// INCLUDES
#include <aknapp.h>

// CLASS DECLARATION

/**
* CHelloViewApplication application class.
* Provides factory to create concrete document object.
* An instance of CHelloViewApplication is the application part of the
* AVKON application framework for the HelloView example application.
*/
class CHelloViewApplication : public CAknApplication
    {
    public: // Functions from base classes

        /**
        * From CApaApplication, AppDllUid.
        * @return Application's UID (KUidHelloViewApp).
        */
        TUid AppDllUid() const;

    protected: // Functions from base classes

        /**
        * From CApaApplication, CreateDocumentL.
        * Creates CHelloViewDocument document object. The returned
        * pointer in not owned by the CHelloViewApplication object.
        * @return A pointer to the created document object.
        */
        CApaDocument* CreateDocumentL();
    };

#endif // __HELLOVIEWAPPLICATION_H__

// End of File

⌨️ 快捷键说明

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