📄 aknexgridview.h
字号:
/* Copyright (c) 2004, Nokia. All rights reserved */
#ifndef __AKNEXGRIDVIEW_H__
#define __AKNEXGRIDVIEW_H__
// INCLUDES
#include <aknview.h>
// CONSTANTS
const TUid KViewId = { 1 }; // UID of view
const TInt KLengthOfTitleTempString = 80;
// FORWARD DECLARATIONS
class CAknExGridContainer;
// CLASS DECLARATION
/**
* CAknExGridView view class.
*
*/
class CAknExGridView : public CAknView
{
public: // Constructors and destructor
/**
* NewL.
* Two-phased constructor.
* Construct a CAknExGridView using two phase construction,
* and return a pointer to the created object
* @return A pointer to the created instance of CAknExGridView
*/
static CAknExGridView* NewL();
/**
* NewLC.
* Two-phased constructor.
* Construct a CAknExGridView using two phase construction,
* and return a pointer to the created object
* @return A pointer to the created instance of CAknExGridView
*/
static CAknExGridView* NewLC();
/**
* ~CAknExGridView.
* Destructor.
*/
virtual ~CAknExGridView();
public: // Functions from base classes
/**
* From CAknView, Id.
* Returns the ID of view.
* @return The ID of view.
*/
TUid Id() const;
/**
* From CAknView, HandleCommandL.
* Handles the commands.
* @param aCommand Command to be handled.
*/
void HandleCommandL( TInt aCommand );
/**
* From CAknView, HandleClientRectChange.
* Handles the size of the clientrect.
*/
void HandleClientRectChange();
private: // Constructors
/**
* ConstructL.
* 2nd phase constructor.
*/
void ConstructL();
private: // New functions
/**
* AutoTestL.
* Runs different tests.
*/
void AutoTestL();
private: // Functions from base classes
/**
* From CAknView, DoActivateL.
* Creates the Container class object.
* @param aPrevViewId Specified TVwsViewId.
* @param aCustomMessageId Specified TUid.
* @param aCustomMessage Specified custom message.
*/
void DoActivateL( const TVwsViewId& aPrevViewId, TUid aCustomMessageId,
const TDesC8& aCustomMessage );
/**
* From CAknView, DoDeactivate.
* Deletes the Container class object.
*/
void DoDeactivate();
private: // Data
/**
* iContainer, container for this view
* Owned by CAknExGridView object.
*/
CAknExGridContainer* iContainer;
/**
* iTestNumber, the next test to be run.
*/
TInt iTestNumber;
};
#endif // __AKNEXGRIDVIEW_H__
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -