svexunknownappapplication.cpp

来自「symbian下读取服务的程序」· C++ 代码 · 共 31 行

CPP
31
字号
// Copyright (c) 2006 Murray Read, All rights reserved

#include "SvexUnknownAppDocument.h"
#include "SvexUnknownAppApplication.h"
#include "SvexUnknownAppServer.h"

// UID for the application, this should correspond to the uid defined in the mmp file
static const TUid KUidSvexUnknownAppApp = {0xA000054B};

CApaDocument* CSvexUnknownAppApplication::CreateDocumentL()
    {  
    // Create an SvexUnknownApp document, and return a pointer to it
    CApaDocument* document = CSvexUnknownAppDocument::NewL(*this);
    return document;
    }

TUid CSvexUnknownAppApplication::AppDllUid() const
    {
    // Return the UID for the SvexUnknownApp application
    return KUidSvexUnknownAppApp;
    }

// The NewAppServerL() function, it only has to "new" the server,
// further construction is called by the framework.
void CSvexUnknownAppApplication::NewAppServerL(CApaAppServer*& aAppServer)
	{
	aAppServer = new(ELeave) CSvexUnknownAppServer();
	}


⌨️ 快捷键说明

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