txtviewerapp.cpp
来自「最常用的短信息功能实现」· C++ 代码 · 共 51 行
CPP
51 行
// INCLUDE FILES
#include "Txtviewerdoc.h" // Documentpart of the Symbian OS app
#include "Txtviewerapp.h" // Applicationpart of the Symbian OS app
#include "TxtViewerAppServer.h"
// ================= MEMBER FUNCTIONS =======================
// ---------------------------------------------------------
// CTxtViewerApplication::AppDllUid
// Returns the application's uid to the UIKON framework
//
// ---------------------------------------------------------
TUid CTxtViewerApplication::AppDllUid() const
{
return KUidTxtViewer;
}
// ---------------------------------------------------------
// CTxtViewerApplication::CreateDocumentL
// Part of the UIKON framework's application construction. Creates Doc-part.
//
// ---------------------------------------------------------
CApaDocument* CTxtViewerApplication::CreateDocumentL()
{
return CTxtViewerDocument::NewL(*this);
}
// ---------------------------------------------------------
// CTxtViewerApplication::NewAppServerL
//
// ---------------------------------------------------------
void CTxtViewerApplication::NewAppServerL( CApaAppServer*& aAppServer )
{
aAppServer = new (ELeave) CTxtViewerAppServer;
}
// ================= OTHER EXPORTED FUNCTIONS ==============
#include <eikstart.h>
LOCAL_C CApaApplication* NewApplication()
{
return new CTxtViewerApplication;
}
GLDEF_C TInt E32Main()
{
return EikStart::RunApplication( NewApplication );
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?