www.pudn.com > SystemSounds_Example_v1_0.zip > SystemSoundsContainer.h
/* * ============================================================================ * Name : CSystemSoundsContainer from SystemSoundsContainer.h * Part of : SystemSounds * Created : 06/12/2003 by Forum Nokia * Description: * Declares container control for application. * Version : * Copyright: Nokia * ============================================================================ */ #ifndef SYSTEMSOUNDSCONTAINER_H #define SYSTEMSOUNDSCONTAINER_H // INCLUDES #include// FORWARD DECLARATIONS class CEikLabel; // for example labels // CLASS DECLARATION /** * CSystemSoundsContainer container control class. * */ class CSystemSoundsContainer : public CCoeControl, MCoeControlObserver { public: // Constructors and destructor /** * EPOC default constructor. * @param aRect Frame rectangle for container. */ void ConstructL(const TRect& aRect); /** * Destructor. */ ~CSystemSoundsContainer(); public: // New functions public: // Functions from base classes 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 ?base_class ?member_description */ // event handling section // e.g Listbox events void HandleControlEventL(CCoeControl* aControl,TCoeEvent aEventType); private: //data CEikLabel* iLabel; // example label CEikLabel* iToDoLabel; // example label }; #endif // End of File