finditemtestappcontainer.h
来自「这个代码实现了从一段字符提取手机号码、email、url等信息的功能。这个是sy」· C头文件 代码 · 共 104 行
H
104 行
/*
* ============================================================================
* 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 + =
减小字号Ctrl + -
显示快捷键?