examples/ForumNokia/Symbian_OS_Basics_Lab_Exercises_v3_1/Lab_04307.cb1/starter/inc/S60ResourceLabContainer.h

00001 // Copyright (c) 2006 Nokia Corporation.
00002 
00003 #ifndef S60RESOURCELABCONTAINER_H
00004 #define S60RESOURCELABCONTAINER_H
00005 
00006 // INCLUDES
00007 #include <coecntrl.h>
00008    
00009 // FORWARD DECLARATIONS
00010 class CEikLabel;        // for example labels
00011 
00012 // CLASS DECLARATION
00013 
00018 class CS60ResourceLabContainer : public CCoeControl, MCoeControlObserver
00019     {
00020     public: // Constructors and destructor
00021         
00026         void ConstructL(const TRect& aRect);
00027 
00031         ~CS60ResourceLabContainer();
00032 
00033     public: // New functions
00034         void GoodbyeL();
00035 
00036     public: // Functions from base classes
00037 
00038     private: // Functions from base classes
00039 
00043         void SizeChanged();
00044 
00048         TInt CountComponentControls() const;
00049 
00053         CCoeControl* ComponentControl(TInt aIndex) const;
00054 
00058         void Draw(const TRect& aRect) const;
00059 
00063         // event handling section
00064         // e.g Listbox events
00065         void HandleControlEventL(CCoeControl* aControl,TCoeEvent aEventType);
00066         
00067     private: //data
00068         
00069         CEikLabel* iLabel;          // example label
00070         CEikLabel* iToDoLabel;      // example label
00071     };
00072 
00073 #endif
00074 
00075 // End of File

Generated by  doxygen 1.6.2