aknexeditorscenariomanager.h
来自「国内著名嵌入式培训机构内部资料,内含一些实例代码,包括技术专题书籍」· C头文件 代码 · 共 105 行
H
105 行
/* Copyright (c) 2004, Nokia. All rights reserved */
#ifndef __AKNEXEDITORSCENARIOMANAGER_H__
#define __AKNEXEDITORSCENARIOMANAGER_H__
// CONSTANTS
const TInt KScenarioNotFound = -1;
const TInt KTitleBufLength = 64;
// FORWARD DECLARATIONS
class TUid;
// CLASS DECLARATION
/**
* CAknExEditorScenarioManager
*
*/
class CAknExEditorScenarioManager
{
public: // Constructors and destructor
/**
* CAknExEditorScenarioManager
* C++ default constructor.
*/
CAknExEditorScenarioManager();
/**
* NewL
* Two-phased constructor.
*/
static CAknExEditorScenarioManager* NewL();
/**
* ~CAknExEditorScenarioManager
* Destructor.
*/
virtual ~CAknExEditorScenarioManager();
public: // New functions
/**
* NextViewTo
* Get next view to specified view.
* @param aUid Uid of the view.
* @return Returns UID of the next view to specified view.
*/
TUid NextViewTo( TUid aUid );
/**
* PrevViewTo
* Get previous view to specified view.
* @param aUid Uid of the view.
* @return Returns UID of the previous view to specified view.
*/
TUid PrevViewTo( TUid aUid );
/**
* FirstViewId
* Get UID of the view in first scenario.
* @return Returns UID of the view.
*/
TUid FirstViewId();
/**
* LastViewId
* Get UID of the view in last scenario.
* @return Returns UID of the view.
*/
TUid LastViewId();
/**
* GetTitle
* Get title of specified view.
* @param aUid Uid of the view.( input )
* @param aTitle Title of the view.( output )
*/
void GetTitle( TUid aUid, TBuf<64>* aTitle );
private:
/**
* ConstructL
* By default Symbian constructor is private.
*/
void ConstructL();
private: // data
/**
* iScenario[100]
* data
*/
TInt iScenario[100];
/**
* count of scenario
*/
TInt iScenarioCount;
};
#endif // __AKNEXEDITORSCENARIOMANAGER_H__
// End of File
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?