helpexampledocument.h

来自「应用于S60平台的示例程序」· C头文件 代码 · 共 96 行

H
96
字号
/*
* ==============================================================================
*  Name        : helpexampledocument.h
*  Part of     : Help example
*  Interface   :
*  Description :
*  Version     :
*
*  Copyright (c) 2004 - 2006 Nokia Corporation.
*  This material, including documentation and any related
*  computer programs, is protected by copyright controlled by
*  Nokia Corporation.
* ==============================================================================
*/

#ifndef __HELPEXAMPLE_DOCUMENT_H__
#define __HELPEXAMPLE_DOCUMENT_H__

// INCLUDES
#include <akndoc.h>

// FORWARD DECLARATIONS

class CHelpExampleAppUi;
class CEikApplication;

// CLASS DECLARATION

/**
* CHelpExampleDocument
* An instance of class CHelpExampleDocument is the Document part of the AVKON
* application framework for the HelpExample example application
*/

class CHelpExampleDocument : public CAknDocument
    {
        public: // Constructors and destructor.

            /**
            * NewL()
            * Construct a CHelpExampleDocument for the AVKON application aApp 
            * using two phase construction, and return a pointer to 
            * the created object
            * @param aApp Application creating this document
            * @return A pointer to the created instance of CHelpExampleDocument
            */
            static CHelpExampleDocument* NewL( CEikApplication& aApp );

            /**
            * NewLC()
            * Construct a CHelpExampleDocument for the AVKON application aApp 
            * using two phase construction, and return a pointer to 
            * the created object
            * @param aApp Application creating this document
            * @return A pointer to the created instance of CHelpExampleDocument
            */
            static CHelpExampleDocument* NewLC( CEikApplication& aApp );

            /**
            * ~CHelpExampleDocument()
            * Destroy the object
            */
            virtual ~CHelpExampleDocument();

        public: // from CAknDocument

            /**
            * CreateAppUiL()
            * Create a CHelpExampleAppUi object and return a pointer to it
            * @return A pointer to the created instance of the AppUi created
            */
            CEikAppUi* CreateAppUiL();

        private:    // Constructors

            /**
            * ConstructL()
            * Perform the second phase construction of a CHelpExampleDocument object
            */

            void ConstructL();

            /**
            * CHelpExampleDocument()
            * Perform the first phase of two phase construction 
            * @param aApp Application creating this document
            */
            CHelpExampleDocument( CEikApplication& aApp );

    };


#endif // __HELPEXAMPLE_DOCUMENT_H__

// End of File

⌨️ 快捷键说明

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