svexserviceappapplication.cpp

来自「演示如何使用的symbian v9服务器应用框架」· C++ 代码 · 共 29 行

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

#include "SvexServiceAppDocument.h"
#include "SvexServiceAppApplication.h"
#include "SvexServiceAppServer.h"

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

CApaDocument* CSvexServiceAppApplication::CreateDocumentL()
    {  
    // Create an SvexServiceApp document, and return a pointer to it
    CApaDocument* document = CSvexServiceAppDocument::NewL(*this);
    return document;
    }

TUid CSvexServiceAppApplication::AppDllUid() const
    {
    // Return the UID for the SvexServiceApp application
    return KUidSvexServiceAppApp;
    }

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

⌨️ 快捷键说明

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