examples/SFExamples/NotifierExample/Launchers/ExeLauncher_S60/inc/ExeLauncher_S60Container.h

00001 /*
00002 ========================================================================
00003  Name        : ExeLauncher_S60Container.h
00004  Author      : Hamish Willee
00005  Copyright   : (C) Symbian 2007
00006  Description : 
00007 ========================================================================
00008 */
00009 #ifndef EXELAUNCHER_S60CONTAINER_H
00010 #define EXELAUNCHER_S60CONTAINER_H
00011 
00012 // [[[ begin generated region: do not modify [Generated Includes]
00013 #include <coecntrl.h>           
00014 // ]]] end generated region [Generated Includes]
00015 
00016 
00017 // [[[ begin [Event Handler Includes]
00018 // ]]] end [Event Handler Includes]
00019 
00020 // [[[ begin generated region: do not modify [Generated Forward Declarations]
00021 class MEikCommandObserver;              
00022 // ]]] end generated region [Generated Forward Declarations]
00023 
00029 class CExeLauncher_S60Container : public CCoeControl
00030         {
00031 public:
00032         // constructors and destructor
00033         CExeLauncher_S60Container();
00034         static CExeLauncher_S60Container* NewL( 
00035                 const TRect& aRect, 
00036                 const CCoeControl* aParent, 
00037                 MEikCommandObserver* aCommandObserver );
00038         static CExeLauncher_S60Container* NewLC( 
00039                 const TRect& aRect, 
00040                 const CCoeControl* aParent, 
00041                 MEikCommandObserver* aCommandObserver );
00042         void ConstructL( 
00043                 const TRect& aRect, 
00044                 const CCoeControl* aParent, 
00045                 MEikCommandObserver* aCommandObserver );
00046         virtual ~CExeLauncher_S60Container();
00047 
00048 public:
00049         // from base class CCoeControl
00050         TInt CountComponentControls() const;
00051         CCoeControl* ComponentControl( TInt aIndex ) const;
00052         TKeyResponse OfferKeyEventL( 
00053                         const TKeyEvent& aKeyEvent, 
00054                         TEventCode aType );
00055         void HandleResourceChange( TInt aType );
00056         
00057 protected:
00058         // from base class CCoeControl
00059         void SizeChanged();
00060 
00061 private:
00062         // from base class CCoeControl
00063         void Draw( const TRect& aRect ) const;
00064 
00065 private:
00066         void InitializeControlsL();
00067         void LayoutControls();
00068         CCoeControl* iFocusControl;
00069         MEikCommandObserver* iCommandObserver;
00070         // [[[ begin generated region: do not modify [Generated Methods]
00071 public: 
00072         // ]]] end generated region [Generated Methods]
00073         
00074         // [[[ begin generated region: do not modify [Generated Type Declarations]
00075 public: 
00076         // ]]] end generated region [Generated Type Declarations]
00077         
00078         // [[[ begin generated region: do not modify [Generated Instance Variables]
00079 private: 
00080         // ]]] end generated region [Generated Instance Variables]
00081         
00082         
00083         // [[[ begin [Overridden Methods]
00084 protected: 
00085         // ]]] end [Overridden Methods]
00086         
00087         
00088         // [[[ begin [User Handlers]
00089 protected: 
00090         // ]]] end [User Handlers]
00091         
00092 public: 
00093         enum TControls
00094                 {
00095                 // [[[ begin generated region: do not modify [Generated Contents]
00096                 
00097                 // ]]] end generated region [Generated Contents]
00098                 
00099                 // add any user-defined entries here...
00100                 
00101                 ELastControl
00102                 };
00103         };
00104                                 
00105 #endif // EXELAUNCHER_S60CONTAINER_H

Generated by  doxygen 1.6.2