📄 hwrmtestappcontainer.h
字号:
/*
* ==============================================================================
* Name : HWRMTestAppContainer.h
* Part of : HWRMTestApp
* Interface :
* Description : Declares container control for application.
* Version :
*
* Copyright (c) 2002-2006 Nokia Corporation.
* This material, including documentation and any related
* computer programs, is protected by copyright controlled by
* Nokia Corporation.
* ==============================================================================
*/
#ifndef HWRMTESTAPPCONTAINER_H
#define HWRMTESTAPPCONTAINER_H
// INCLUDES
#include <coecntrl.h>
// FORWARD DECLARATIONS
class CEikEdwin;
// CLASS DECLARATION
/**
* CHWRMTestAppContainer container control class.
*
* @lib HWRMTestApp.exe
* @since Series S60 3.0
*/
class CHWRMTestAppContainer : public CCoeControl, public MCoeControlObserver
{
public: // Constructors and destructor
/**
* EPOC default constructor.
* @param aRect Frame rectangle for container.
*/
void ConstructL(const TRect& aRect);
/**
* Destructor.
*/
~CHWRMTestAppContainer();
public: // New functions
void AddMessageL( const TDesC& aMsg ) const;
public: // Functions from base classes
TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent,TEventCode aType );
private: // Functions from base classes
/**
* From CoeControl,SizeChanged.
*/
void SizeChanged();
/**
* From CoeControl,CountComponentControls.
*/
TInt CountComponentControls() const;
/**
* From CCoeControl,ComponentControl.
*/
CCoeControl* ComponentControl(TInt aIndex) const;
/**
* From CCoeControl,Draw.
*/
void Draw(const TRect& aRect) const;
/**
* From CoeControl, HandleResourceChange.
* Called by framework when the view layout is changed.
*/
virtual void HandleResourceChange(TInt aType);
/**
* From MCoeControlObserver, HandleControlEventL.
* Handles an event from an observed control.
*/
void HandleControlEventL(CCoeControl* aControl,TCoeEvent aEventType);
private: //data
/**
* Editor window for displaying messages.
* Own.
*/
CEikEdwin* iEdwin;
};
#endif // HWRMTESTAPPCONTAINER_H
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -