gpidocument.h

来自「一个SYMBIAN下网上购物软件,通过本软件可以列出服务器上所有的物品种类等」· C头文件 代码 · 共 84 行

H
84
字号
/*
* ============================================================================
*  Name     : CGPIDocument from GPIDocument.h
*  Part of  : GPI
*  Created  : 2008-11-20 by 
*  Description:
*     Declares document for application.
*  Version  :
*  Copyright: 
* ============================================================================
*/

#ifndef GPIDOCUMENT_H
#define GPIDOCUMENT_H

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

// FORWARD DECLARATIONS
class  CEikAppUi;

// CLASS DECLARATION

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

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

    public: // New functions

    public: // Functions from base classes
        
        /**
        * From CApaDocument: This is called by framework to restore saved data
		* from persistent store to document
        */
		void RestoreL(const CStreamStore& aStore, const CStreamDictionary& aStreamDic);

        /**
        * From CApaDocument: This is called by framework to store data
		* to persistent store
        */
		void StoreL(CStreamStore& aStore, CStreamDictionary& aStreamDic) const;

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

    protected:  // Functions from base classes

    private:

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

    private:

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

#endif

// End of File

⌨️ 快捷键说明

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