📄 shapedrawerdocument.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -