FepSetupContainer.h
上传用户:tjsjht
上传日期:2021-01-13
资源大小:25k
文件大小:2k
源码类别:

输入法编程

开发平台:

Visual C++

  1. /*
  2. * ============================================================================
  3. *  Name     : CFepSetupContainer from FepSetupContainer.h
  4. *  Part of  : FepSetup
  5. *  Created  : 02/23/2003 by Forum Nokia
  6. *  Description:
  7. *     Declares container control for application.
  8. *  Version  :
  9. *  Copyright: 
  10. * ============================================================================
  11. */
  12. #ifndef FepSetupContainer_H
  13. #define FepSetupContainer_H
  14. // INCLUDES
  15. #include <coecntrl.h>
  16. #include <fepbase.h>
  17.    
  18. // FORWARD DECLARATIONS
  19. class CEikLabel;        // for example labels
  20. // CLASS DECLARATION
  21. /**
  22. *  CFepSetupContainer  container control class.
  23. *  
  24. */
  25. class CFepSetupContainer : public CCoeControl, MCoeControlObserver
  26.     {
  27.     public: // Constructors and destructor
  28.         
  29.         /**
  30.         * EPOC default constructor.
  31.         * @param aRect Frame rectangle for container.
  32.         */
  33.         void ConstructL(const TRect& aRect);
  34.         /**
  35.         * Destructor.
  36.         */
  37.         ~CFepSetupContainer();
  38.     public: // New functions
  39. void InstallFepL();
  40. void UnInstallFepL();
  41.     public: // Functions from base classes
  42.     private: // Functions from base classes
  43.        /**
  44.         * From CoeControl,SizeChanged.
  45.         */
  46.         void SizeChanged();
  47.        /**
  48.         * From CoeControl,CountComponentControls.
  49.         */
  50.         TInt CountComponentControls() const;
  51.        /**
  52.         * From CCoeControl,ComponentControl.
  53.         */
  54.         CCoeControl* ComponentControl(TInt aIndex) const;
  55.        /**
  56.         * From CCoeControl,Draw.
  57.         */
  58.         void Draw(const TRect& aRect) const;
  59.        /**
  60.         * From ?base_class ?member_description
  61.         */
  62.         // event handling section
  63.         // e.g Listbox events
  64.         void HandleControlEventL(CCoeControl* aControl,TCoeEvent aEventType);
  65.         
  66.     private: //data
  67.         
  68.         CEikLabel* iLabel;
  69. CFepGenericGlobalSettings* iFepSetting; // Defined in FEPBASE.H
  70. MDesCArray* iFileNamesOfAvailableFeps;
  71. CDesCArray* iNamesOfAvailableFeps;
  72.     };
  73. #endif
  74. // End of File