pdfs60application.cpp
来自「Symbian界面设计的C++源代码例子:Designing and build」· C++ 代码 · 共 41 行
CPP
41 行
//
// PdfS60Application.cpp
//
#include <aknapp.h>
// UI
#include "PdfS60Document.h"
class CPdfS60Application: public CAknApplication
{
// --o CEikApplication
private:
TUid AppDllUid() const { return KUidPdf; }
CApaDocument* CreateDocumentL();
CDictionaryStore* OpenIniFileLC(RFs& aFs) const;
};
CApaDocument* CPdfS60Application::CreateDocumentL()
{
CPdfS60Document* doc = new(ELeave) CPdfS60Document(*this);
CleanupStack::PushL(doc);
doc->ConstructL();
CleanupStack::Pop(); // doc
return doc;
}
CDictionaryStore* CPdfS60Application::OpenIniFileLC(RFs& aFs) const
{
return CEikApplication::OpenIniFileLC(aFs);
}
EXPORT_C CApaApplication* NewApplication()
{
return new CPdfS60Application;
}
GLDEF_C TInt E32Dll(TDllReason /* aReason */)
{
return KErrNone;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?