⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gpidocument.cpp

📁 一个SYMBIAN下网上购物软件,通过本软件可以列出服务器上所有的物品种类等
💻 CPP
字号:
/*
* ============================================================================
*  Name     : CGPIDocument from GPIDocument.h
*  Part of  : GPI
*  Created  : 2008-11-20 by 
*  Implementation notes:
*     Initial content was generated by Series 60 AppWizard.
*  Version  :
*  Copyright: 
* ============================================================================
*/

// INCLUDE FILES
#include "GPIDocument.h"
#include "GPIAppUi.h"

// ================= MEMBER FUNCTIONS =======================

// constructor
CGPIDocument::CGPIDocument(CEikApplication& aApp)
: CAknDocument(aApp)    
    {
    }

// destructor
CGPIDocument::~CGPIDocument()
    {
    }

// EPOC default constructor can leave.
void CGPIDocument::ConstructL()
    {
    }

// Two-phased constructor.
CGPIDocument* CGPIDocument::NewL(
        CEikApplication& aApp)     // CGPIApp reference
    {
    CGPIDocument* self = new (ELeave) CGPIDocument( aApp );
    CleanupStack::PushL( self );
    self->ConstructL();
    CleanupStack::Pop();

    return self;
    }
    
// ----------------------------------------------------
// CGPIDocument::CreateAppUiL()
// constructs CGPIAppUi
// ----------------------------------------------------
//
CEikAppUi* CGPIDocument::CreateAppUiL()
    {
    return new (ELeave) CGPIAppUi;
    }

// ----------------------------------------------------
// CGPIDocument::OpenFileL
// Overrides CAknDocument::OpenFileL to support document file
// ----------------------------------------------------
//
CFileStore* CGPIDocument::OpenFileL(TBool aDoOpen,const TDesC& aFilename,RFs& aFs)
    {
    return CEikDocument::OpenFileL(aDoOpen, aFilename, aFs);
    }

// ----------------------------------------------------
// CGPIDocument::RestoreL()
// restore data from persistent store
// ----------------------------------------------------
//      
void CGPIDocument::RestoreL(const CStreamStore& aStore, const CStreamDictionary& aStreamDic)
    {
	// TODO: restore data
    }

// ----------------------------------------------------
// CGPIDocument::StoreL()
// store data to persistent store
// ----------------------------------------------------
//          
void CGPIDocument::StoreL(CStreamStore& aStore, CStreamDictionary& aStreamDic) const
	{
	// TODO: store data 
	}

// End of File  

⌨️ 快捷键说明

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