📄 svexserviceappserver.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 + -