camtestdocument.h

来自「symbian下摄像头拍照示例,symbian c 开发」· C头文件 代码 · 共 92 行

H
92
字号
/*
============================================================================
 Name        : CamTestDocument.h
 Author      : 
 Version     :
 Copyright   : Your copyright notice
 Description : Application document class (model)
============================================================================
*/

#ifndef __CAMTESTDOCUMENT_H__
#define __CAMTESTDOCUMENT_H__

// INCLUDES
#include <akndoc.h>

// FORWARD DECLARATIONS
class CCamTestAppUi;
class CEikApplication;


// CLASS DECLARATION

/**
* CCamTestDocument application class.
* An instance of class CCamTestDocument is the Document part of the
* AVKON application framework for the CamTest example application.
*/
class CCamTestDocument : public CAknDocument
    {
    public: // Constructors and destructor

        /**
        * NewL.
        * Two-phased constructor.
        * Construct a CCamTestDocument 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 CCamTestDocument.
        */
        static CCamTestDocument* NewL( CEikApplication& aApp );

        /**
        * NewLC.
        * Two-phased constructor.
        * Construct a CCamTestDocument 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 CCamTestDocument.
        */
      //  static CCamTestDocument* NewLC( CEikApplication& aApp );

        /**
        * ~CCamTestDocument
        * Virtual Destructor.
        */
        virtual ~CCamTestDocument();

    public: // Functions from base classes

        /**
        * CreateAppUiL
        * From CEikDocument, CreateAppUiL.
        * Create a CCamTestAppUi object and return a pointer to it.
        * The object returned is owned by the Uikon framework.
        * @return Pointer to created instance of AppUi.
        */
        CEikAppUi* CreateAppUiL();

    private: // Constructors

        /**
        * ConstructL
        * 2nd phase constructor.
        */
        void ConstructL();

        /**
        * CCamTestDocument.
        * C++ default constructor.
        * @param aApp Application creating this document.
        */
        CCamTestDocument( CEikApplication& aApp );

    };

#endif // __CAMTESTDOCUMENT_H__

// End of File

⌨️ 快捷键说明

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