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

📄 pdfckonapplication.cpp

📁 Symbian界面设计的C++源代码例子:Designing and building portable UIs for Symbian OS: Using a controller as a por
💻 CPP
字号:
//
// PdfCKONApplication.cpp
//

#include <eikapp.h>

// Ui
#include "PdfCKONDocument.h"

class CPdfCKONApplication: public CEikApplication
	{
// --o CEikApplication
private:
	TUid AppDllUid() const { return KUidPdf; }
	CApaDocument* CreateDocumentL();
	void GetDefaultDocumentFileName(TFileName& aDocumentName) const;
	};

CApaDocument* CPdfCKONApplication::CreateDocumentL()
	{
	CPdfCKONDocument* doc = new(ELeave) CPdfCKONDocument(*this);
	CleanupStack::PushL(doc);
	doc->ConstructL();
	CleanupStack::Pop(); // doc
	return doc;
	}

// We do not want a default document created
void CPdfCKONApplication::GetDefaultDocumentFileName(TFileName& aDocumentName) const
	{
	aDocumentName.Zero();
	} 

EXPORT_C CApaApplication* NewApplication()
	{
	return new CPdfCKONApplication;
	}

GLDEF_C TInt E32Dll(TDllReason /* aReason */)
	{
	return KErrNone;
	}

⌨️ 快捷键说明

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