📄 txtviewerservicesession.h
字号:
/*
* ============================================================================
* Name : CTxtViewerService
*
* Description:
* Server-side message editor/viewer service
*
* Version:
*
* Copyright (C) 2004 Nokia Corporation.
* This material, including documentation and any related
* computer programs, is protected by copyright controlled by
* Nokia Corporation. All rights are reserved. Copying,
* including reproducing, storing, adapting or translating, any
* or all of this material requires the prior written consent of
* Nokia Corporation. This material also contains confidential
* information which may not be disclosed to others without the
* prior written consent of Nokia Corporation.
*
* ============================================================================
*/
#ifndef TXTEDITORSERVICESESSION_H
#define TXTEDITORSERVICESESSION_H
#include <f32file.h>
#include <eikdoc.h>
#include <AknServerApp.h>
enum TTxtViewerServiceCmds
{
ETxtViewerServiceCmdOpen = RApaAppServiceBase::KServiceCmdBase
};
class CTxtViewerServiceSession : public CAknAppServiceBase
{
public:
/**
* C++ Constructor
*/
IMPORT_C CTxtViewerServiceSession();
/**
* C++ Destructor
*/
~CTxtViewerServiceSession();
protected: // from CSession2
/**
* Just basecalls CAknAppServiceBase
*/
void CreateL();
void ServiceL(const RMessage2& aMessage);
/**
* Basecalls CAknAppServiceBase.
*/
void ServiceError(const RMessage2& aMessage,TInt aError);
private:
/**
* Constructs TEditorParameters from aMessage */
void OpenL( const RMessage2& aMessage );
private:
CEikDocument* iDoc;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -