?? oandxdocument.cpp
字號:
// Copyright (c) 2004, Symbian Software Ltd. All rights reserved.
#include "OandXApplication.h"
#include "OandXAppUi.h"
#include "OandXDocument.h"
COandXDocument* COandXDocument::NewL(CEikApplication& aApp)
{
COandXDocument* self = NewLC(aApp);
CleanupStack::Pop(self);
return self;
}
COandXDocument* COandXDocument::NewLC(CEikApplication& aApp)
{
COandXDocument* self = new (ELeave) COandXDocument(aApp);
CleanupStack::PushL(self);
self->ConstructL();
return self;
}
void COandXDocument::ConstructL()
{
// No implementation required
}
COandXDocument::COandXDocument(CEikApplication& aApp) : CAknDocument(aApp)
{
// No implementation required
}
COandXDocument::~COandXDocument()
{
// No implementation required
}
CEikAppUi* COandXDocument::CreateAppUiL()
{
iAppUi = new (ELeave) COandXAppUi;
return (static_cast <CEikAppUi*> (iAppUi));
}
void COandXDocument::StoreL(CStreamStore& aStore,CStreamDictionary& aStreamDic) const
{
TStreamId id = iAppUi->StoreL(aStore);
aStreamDic.AssignL(KUidOandXApp, id);
}
void COandXDocument::RestoreL(const CStreamStore& aStore,const CStreamDictionary& aStreamDic)
{
TStreamId id = aStreamDic.At(KUidOandXApp);
iAppUi->RestoreL(aStore, id);
}
CFileStore* COandXDocument::OpenFileL(TBool aDoOpen,const TDesC& aFilename,RFs& aFs)
{
return CEikDocument::OpenFileL(aDoOpen,aFilename,aFs);
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -