examples/ForumNokia/Symbian_OS_Basics_Lab_Exercises_v3_1/Lab_04308.cb1/solution/inc/S60ClientServLabContainer.h

00001 // Copyright (c) 2006 Nokia Corporation.
00002 
00003 #ifndef S60CLIENTSERVLABCONTAINER_H
00004 #define S60CLIENTSERVLABCONTAINER_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 CS60ClientServLabContainer : public CCoeControl, MCoeControlObserver
00019     {
00020     public: // Constructors and destructor
00021         
00026         void ConstructL(const TRect& aRect);
00027 
00031         ~CS60ClientServLabContainer();
00032 
00033     public: // New functions
00037         void WriteFileL();
00038 
00039 
00040     private: // Functions from base classes
00044         void SizeChanged();
00045 
00049         TInt CountComponentControls() const;
00050 
00054         CCoeControl* ComponentControl(TInt aIndex) const;
00055 
00059         void Draw(const TRect& aRect) const;
00060 
00064         // event handling section
00065         // e.g Listbox events
00066         void HandleControlEventL(CCoeControl* aControl,TCoeEvent aEventType);
00067         
00068     private: //data
00069         
00070         CEikLabel* iTopLabel;          
00071         CEikLabel* iBottomLabel;      
00072     };
00073 
00074 #endif
00075 
00076 // End of File

Generated by  doxygen 1.6.2