📄 aknexformview.h
字号:
/* Copyright (c) 2005, Nokia. All rights reserved */
#ifndef _AKNEXFORMVIEW_H__
#define _AKNEXFORMVIEW_H__
// INCLUDES
#include <aknview.h>
#include <eikdialg.h>
#include <aknform.h>
// CONSTANTS
const TUid KViewId = { 1 }; // UID of view
const TInt KAknExFormTitleBufLength = 256;
const TInt KAknExFormResourceIdInitialize = 0;
const TInt KAknExFormLabelBufLength = 256;
// FORWARD DECLARATIONS
class CAknExFormContainer;
// CLASS DECLARATION
/**
* CAknExFormView view class.
*
*/
class CAknExFormView : public CAknView
{
public: // Constructors and destructor
/**
* CAknExFormView
* Default constructor.
*/
CAknExFormView();
/**
* ConstructL
* Symbian constructor.
*/
void ConstructL();
/**
* ~CAknExFormView
* Destructor.
*/
virtual ~CAknExFormView();
public: // New functions
/**
* DisplayNextOutlineL
* @param aIndex
*/
void DisplayNextOutlineL();
public: // From CAknView.
/**
* From CAknView, Id.
* Returns the ID of view.
* @return The ID of view.
*/
TUid Id() const;
/**
* From CAknView, HandleCommandL.
* handles the commands. if the command is command which is require to
* display outline-screen, the command is reported to container class.
* @param aCommand Command to be handled.
*/
void HandleCommandL( TInt aCommand );
private: // New functions
/**
* IndicateTitlePaneTextL
* Set title text to status-pane
* @param aCommand
*/
void IndicateTitlePaneTextL( TInt aCommand );
private: // From CAknView
/**
* From CAknView, DoActivateL.
* Creates the Container class object.
* @param aPrevViewId aPrevViewId is not used.
* @param aCustomMessageId aCustomMessageId is not used.
* @param aCustomMessage aCustomMessage is not used.
*/
void DoActivateL(
const TVwsViewId& aPrevViewId,
TUid aCustomMessageId,
const TDesC8& aCustomMessage );
/**
* From CAknView, DoDeactivate.
* Deletes the Container class object.
*/
void DoDeactivate();
private: // Data
/**
* iContainer
* Owned by CAknExFormView object.
*/
CAknExFormContainer* iContainer;
/**
* iCurrentOutline
*/
TInt iCurrentOutline;
};
/**
* CAknExFormAdd container control class.
*/
class CAknExFormAdd : public CAknForm
{
public: // Constructor and Detructor
/**
* CAknExFormAdd
* Default constructor.
*/
CAknExFormAdd();
/**
* ~CAknExFormAdd
* Destructor.
*/
virtual ~CAknExFormAdd();
protected:
/**
* From CAknForm, AddItemL
* Add item for testing uses customised dialog.
*/
void AddItemL();
private:
/**
* iNewItemId
* In order to prevent adding controls which ID is the same.
*/
TInt iNewItemId;
};
#endif // _AKNEXFORMVIEW_H__
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -