?? oandxdocument.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 + -