📄 mopoidcontainerview.h
字号:
/*
========================================================================
Name : MopoidContainerView.h
Author :
Copyright :
Description : Manages the container of this view.
License :
========================================================================
*/
#ifndef MOPOIDCONTAINERVIEW_H
#define MOPOIDCONTAINERVIEW_H
// [[[ begin generated region: do not modify [Generated Includes]
#include <aknview.h>
// ]]] end generated region [Generated Includes]
// [[[ begin [Event Handler Includes]
// ]]] end [Event Handler Includes]
// [[[ begin generated region: do not modify [Generated Constants]
// ]]] end generated region [Generated Constants]
// [[[ begin generated region: do not modify [Generated Forward Declarations]
class CMopoidContainer;
// ]]] end generated region [Generated Forward Declarations]
/**
* Avkon view class for MopoidContainerView. It is register with the view server
* by the AppUi. It owns the container control.
* @class CMopoidContainerView MopoidContainerView.h
*/
class CMopoidContainerView : public CAknView
{
// [[[ begin [Public Section]
public:
// constructors and destructor
CMopoidContainerView();
static CMopoidContainerView* NewL();
static CMopoidContainerView* NewLC();
void ConstructL();
virtual ~CMopoidContainerView();
// from base class CAknView
TUid Id() const;
void HandleCommandL( TInt aCommand );
// [[[ begin generated region: do not modify [Generated Methods]
CMopoidContainer* CreateContainerL();
static void RunNoteAboutL( const TDesC* aOverrideText = NULL );
// ]]] end generated region [Generated Methods]
// ]]] end [Public Section]
// [[[ begin [Protected Section]
protected:
// from base class CAknView
void DoActivateL(
const TVwsViewId& aPrevViewId,
TUid aCustomMessageId,
const TDesC8& aCustomMessage );
void DoDeactivate();
void HandleStatusPaneSizeChange();
// handle gaining or losing focus
void HandleForegroundEventL(TBool aForeground);
// From MEikMenuObserver
/**
* Handles hiding the continue game when building the menu.
*/
void DynInitMenuPaneL(TInt aResourceId, CEikMenuPane* aMenuPane);
// [[[ begin generated region: do not modify [Overridden Methods]
// ]]] end generated region [Overridden Methods]
// [[[ begin [User Handlers]
TBool HandleAboutMenuItemSelectedL( TInt aCommand );
TBool HandleStart_new_gameMenuItemSelectedL( TInt aCommand );
TBool HandleSound_OnMenuItemSelectedL( TInt aCommand );
TBool HandleSound_OffMenuItemSelectedL( TInt aCommand );
// ]]] end [User Handlers]
// ]]] end [Protected Section]
// [[[ begin [Private Section]
private:
void SetupStatusPaneL();
void CleanupStatusPane();
// [[[ begin generated region: do not modify [Generated Instance Variables]
CMopoidContainer* iMopoidContainer;
// ]]] end generated region [Generated Instance Variables]
// [[[ begin generated region: do not modify [Generated Methods]
// ]]] end generated region [Generated Methods]
// ]]] end [Private Section]
};
#endif // MOPOIDCONTAINERVIEW_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -