countdowndocument.h

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

H
70
字号
/*
* ============================================================================
*  Name     : CCountDownDocument from CountDownDocument.h
*  Part of  : CountDown
*  Created  : 2005-8-29 by 
*  Description:
*     Declares document for application.
*  Version  :
*  Copyright: 
* ============================================================================
*/

#ifndef COUNTDOWNDOCUMENT_H
#define COUNTDOWNDOCUMENT_H

// INCLUDES
#include <akndoc.h>
   
// CONSTANTS

// FORWARD DECLARATIONS
class  CEikAppUi;

// CLASS DECLARATION

/**
*  CCountDownDocument application class.
*/
class CCountDownDocument : public CAknDocument
    {
    public: // Constructors and destructor
        /**
        * Two-phased constructor.
        */
        static CCountDownDocument* NewL(CEikApplication& aApp);

        /**
        * Destructor.
        */
        virtual ~CCountDownDocument();

    public: // New functions

    public:	// from CEikDocument
	CFileStore* OpenFileL(TBool aDoOpen,const TDesC& aFilename,RFs& aFs);
    protected:  // New functions

    protected:  // Functions from base classes

    private:

        /**
        * EPOC default constructor.
        */
        CCountDownDocument(CEikApplication& aApp);
        void ConstructL();

    private:

        /**
        * From CEikDocument, create CCountDownAppUi "App UI" object.
        */
        CEikAppUi* CreateAppUiL();
    };

#endif

// End of File

⌨️ 快捷键说明

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