www.pudn.com > SystemSounds_Example_v1_0.zip > SystemSoundsContainer2.h


/* 
* ============================================================================ 
*  Name     : CSystemSoundsContainer2 from SystemSoundsContainer2.h 
*  Part of  : SystemSounds 
*  Created  : 06/12/2003 by Forum Nokia 
*  Description: 
*     Declares container control for application. 
*  Version  : 
*  Copyright: Nokia 
* ============================================================================ 
*/ 
 
#ifndef SYSTEMSOUNDSCONTAINER2_H 
#define SYSTEMSOUNDSCONTAINER2_H 
 
// INCLUDES 
#include  
  
// FORWARD DECLARATIONS 
class CEikLabel;        // for example labels 
 
// CLASS DECLARATION 
 
/** 
*  CSystemSoundsContainer2  container control class. 
*   
*/ 
class CSystemSoundsContainer2 : public CCoeControl, MCoeControlObserver 
    { 
    public: // Constructors and destructor 
         
        /** 
        * EPOC default constructor. 
        * @param aRect Frame rectangle for container. 
        */ 
        void ConstructL(const TRect& aRect); 
 
        /** 
        * Destructor. 
        */ 
        ~CSystemSoundsContainer2(); 
 
    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