📄 finditemtestappcontainer.h
字号:
/*
* ============================================================================
* Name : CFindItemTestAppContainer from FindItemTestAppContainer.h
* Part of : FindItemTestApp
* 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 FINDITEMTESTAPPCONTAINER_H
#define FINDITEMTESTAPPCONTAINER_H
// INCLUDES
#include <coecntrl.h>
// FORWARD DECLARATIONS
class CEikLabel; // for example labels
class CEikTextListBox;
// CLASS DECLARATION
/**
* CFindItemTestAppContainer container control class.
*
* @lib FindItemTestApp.exe
* @since Series S60 3.0
*/
class CFindItemTestAppContainer : public CCoeControl,
public MCoeControlObserver
{
public: // Constructors and destructor
/**
* EPOC default constructor.
* @param aRect Frame rectangle for container.
*/
void ConstructL(const TRect& aRect);
/**
* Destructor.
*/
~CFindItemTestAppContainer();
public: // New functions
void AddMessageL( const TDesC& aMsg );
void ResetMessage();
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 MCoeControlObserver, HandleControlEventL.
* Handles an event from an observed control.
*/
void HandleControlEventL(CCoeControl* aControl,TCoeEvent aEventType);
/**
* From CoeControl, HandleResourceChange.
* Called by framework when the view layout is changed.
*/
virtual void HandleResourceChange(TInt aType);
private: //data
CEikTextListBox* iListBox;
CEikLabel* iLabel; // example label
};
#endif // FINDITEMTESTAPPCONTAINER_H
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -