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

📄 oandxdocument.cpp

📁 Symbian OS C++ for Mobile Phones Volume 3 源码
💻 CPP
字号:
// Copyright (c) 2004 - 2006, Symbian Software Ltd. All rights reserved.

#include "OandXApplication.h"
#include "OandXAppUi.h"
#include "OandXDocument.h"

COandXDocument* COandXDocument::NewL(CEikApplication& aApp)
/**
	Factory function allocates new initialized document object.
	
	@param	aApp			The application object, which is used
							to initialize the newly-created document object.
	@return					New initialized document object.  The
							object is owned by the caller.
 */
    {
    COandXDocument* self = new(ELeave) COandXDocument(aApp);
    return self;
    }

COandXDocument::COandXDocument(CEikApplication& aApp)
/**
	This constructor is only defined to initialize the
	platform-specific superclass with the supplied application object.
	
	@param	aApp			Application object which is used to
							initialize the platform-specific
							superclass.
 */
:	CAknDocument(aApp)
    {
	// empty.
    }

COandXDocument::~COandXDocument()
/**
	This d'tor is empty but defining it here ensures
	that only one instance is generated.
 */
    {
	// empty.
    }

CEikAppUi* COandXDocument::CreateAppUiL()
/**
	Implement CEikDocument by creating a new app UI object.
	
	@return					New app UI object.  This is CBase-initialized
							and its constructor has been called, but no
							secondary initialization has been performed.
 */
    {
    iAppUi = new (ELeave) COandXAppUi;
    return iAppUi;
    }

⌨️ 快捷键说明

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