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

📄 svexopenappserver.cpp

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

#include "SvexOpenAppServer.h"
#include "SvexOpenAppAppUi.h"

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

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

CSvexOpenAppAppUi* CSvexOpenAppSession::AppUi()
	{
	return ((CSvexOpenAppServer*)Server())->AppUi();
	}



CSvexOpenAppServer::CSvexOpenAppServer()
	{
	}

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

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

⌨️ 快捷键说明

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