📄 aknexgridviewasgms.h
字号:
/* Copyright (c) 2004, Nokia. All rights reserved */
#ifndef __AKNEXGRIDVIEWASGMS_H__
#define __AKNEXGRIDVIEWASGMS_H__
// INCLUDES
#include <aknview.h>
// CONSTANTS
const TUid KViewGMSId = { 5 }; // UID of view
const TInt KLengthOfGMSAboutString = 40;
const TInt KLengthOfTempString = 100;
// FORWARD DECLARATIONS
class CAknExGridContainerAsGMS;
// CLASS DECLARATION
/**
* CAknExGridViewAsGMS view class.
*/
class CAknExGridViewAsGMS : public CAknView
{
public: // Constructors and destructor
/**
* NewL.
* Two-phased constructor.
* Construct a CAknExGridViewAsGMS using two phase construction,
* and return a pointer to the created object
* @return A pointer to the created instance of CAknExGridViewAsGMS.
*/
static CAknExGridViewAsGMS* NewL();
/**
* NewLC.
* Two-phased constructor.
* Construct a CAknExGridViewAsGMS using two phase construction,
* and return a pointer to the created object
* @return A pointer to the created instance of CAknExGridViewAsGMS.
*/
static CAknExGridViewAsGMS* NewLC();
/**
* ~CAknExGridViewAsGMS.
* Destructor.
*/
virtual ~CAknExGridViewAsGMS();
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: // 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 CAknExGridViewAsGMS object.
*/
CAknExGridContainerAsGMS* iContainer;
};
#endif // __AKNEXGRIDVIEWASGMS_H__
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -