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

📄 svexserviceappserver.cpp

📁 symbian下读取服务的程序
💻 CPP
字号:
// Copyright (c) 2006 Murray Read, All rights reserved

#include "SvexServiceAppServer.h"
#include "SvexServiceAppAppUi.h"

// The implementation of ServiceApp's session is to ask the
// app UI. The service UID is assumed to be for the Service Info Service
void CSvexServiceAppSession::ShowAllL(TUid /*aServiceUid*/)
	{
	AppUi()->ShowAllL();
	}

void CSvexServiceAppSession::ShowAppL(TUid /*aServiceUid*/, TUid aAppUid)
	{
	AppUi()->ShowAppAndExitL(aAppUid);
	}

CSvexServiceAppAppUi* CSvexServiceAppSession::AppUi()
	{
	return ((CSvexServiceAppServer*)Server())->AppUi();
	}



CSvexServiceAppServer::CSvexServiceAppServer()
	{
	}

// ServiceApp's server just creates the session when asked.
CSvexServiceInfoSession* CSvexServiceAppServer::CreateServiceInfoServiceL() const
	{
	if (!iAppUi)
		iAppUi = ((CSvexServiceAppAppUi*)CEikonEnv::Static()->EikAppUi());

	CSvexServiceAppSession* session = new(ELeave) CSvexServiceAppSession;
	return session;
	}

⌨️ 快捷键说明

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