S60 3rd Edition SDK for Symbian OS
Example Applications Guide

SatelliteReferenceContainer.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : SatelliteReferenceContainer
00004 *  Part of     : Satellite Reference App
00005 *  Interface   : 
00006 *  Description : 
00007 *  Version     : 
00008 *
00009 *  Copyright (c) 2005-2006 Nokia Corporation.
00010 *  This material, including documentation and any related 
00011 *  computer programs, is protected by copyright controlled by 
00012 *  Nokia Corporation.
00013 * ==============================================================================
00014 */
00015 
00016 #ifndef SATELLITE_REFERENCE_CONTAINER_H
00017 #define SATELLITE_REFERENCE_CONTAINER_H
00018 
00019 // INCLUDES
00020 #include <coecntrl.h>
00021 #include <aknappui.h>
00022    
00023 // FORWARD DECLARATIONS
00024 class CEikLabel;        // for example labels
00025 
00026 // CLASS DECLARATION
00027 
00028 /**
00029 *  CSatelliteReferenceContainer  container control class.
00030 *  
00031 */
00032 class CSatelliteReferenceContainer : public CCoeControl, MCoeControlObserver
00033     {
00034     public: // Constructors and destructor
00035         
00036         /**
00037         * EPOC default constructor.
00038         * @param aRect Frame rectangle for container.
00039         */
00040         void ConstructL(const TRect& aRect, CAknAppUi* aAppUi);
00041 
00042         /**
00043         * Destructor.
00044         */
00045         ~CSatelliteReferenceContainer();
00046         
00047         /**
00048         * To handle layout change event
00049         */
00050         void HandleResourceChange(TInt aType);
00051 
00052     private: // Functions from base classes
00053 
00054        /**
00055         * From CoeControl,SizeChanged.
00056         */
00057         void SizeChanged();
00058 
00059        /**
00060         * From CoeControl,CountComponentControls.
00061         */
00062         TInt CountComponentControls() const;
00063 
00064        /**
00065         * From CCoeControl,ComponentControl.
00066         */
00067         CCoeControl* ComponentControl(TInt aIndex) const;
00068 
00069        /**
00070         * From CCoeControl,Draw.
00071         */
00072         void Draw(const TRect& aRect) const;
00073 
00074        /**
00075         * From ?base_class ?member_description
00076         */
00077         // event handling section
00078         // e.g Listbox events
00079         void HandleControlEventL(CCoeControl* aControl,TCoeEvent aEventType);
00080         
00081     private:
00082         CAknAppUi* iAppUi;
00083     };
00084 
00085 #endif
00086 
00087 // End of File

© Nokia 2006

Back to top