shapedrawerdocument.h
来自「series60 应用程序开发的源代码 series60 应用程序开发的源代码」· C头文件 代码 · 共 56 行
H
56 行
#ifndef __SHAPEDRAWERDOCUMENT_H__
#define __SHAPEDRAWERDOCUMENT_H__
//INCLUDES
//System Includes
#include <akndoc.h>
//User Includes
#include "ShapeListManager.h"
//FORWARD DECLARATIONS
class CShapeDrawerAppUi;
class CEikApplication;
/**
*
* @class CShapeDrawerDocument ShapeDrawerDocument.h
* @brief This is the document class for the SHAPEDRAWER example
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*
*/
class CShapeDrawerDocument : public CAknDocument
{
public: // New methods
static CShapeDrawerDocument* NewLC(CEikApplication& aApp);
static CShapeDrawerDocument* NewL(CEikApplication& aApp);
virtual CFileStore* OpenFileL(TBool aDoOpen,const TDesC& aFilename,RFs& aFs);
TInt DataSize();
~CShapeDrawerDocument();
CShapeListManager* Model();
public: // from CApaDocument
void StoreL(CStreamStore& aStore, CStreamDictionary& aStreamDic) const;
void RestoreL(const CStreamStore& aStore, const CStreamDictionary& aStreamDic);
protected:
CShapeDrawerDocument(CEikApplication& aApp);
private: // New methods
void ConstructL();
CEikAppUi* CreateAppUiL();
private:
CShapeListManager* iModel;
TInt iInitialDocumentSize;
};
#endif // __SHAPEDRAWERDOCUMENT_H__
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?