00001 // EIKCTLIB.H 00002 // 00003 // Copyright (c) 1997-1999 Symbian Ltd. All rights reserved. 00004 // 00005 00006 #if !defined(__EIKCTLIB_H__) 00007 #define __EIKCTLIB_H__ 00008 00009 #if !defined(__F32FILE_H__) 00010 #include <f32file.h> 00011 #endif 00012 00013 #if !defined(__E32BASE_H__) 00014 #include <e32base.h> 00015 #endif 00016 00017 #if !defined(__EIKLIBRY_H__) 00018 #include <eiklibry.h> 00019 #endif 00020 00021 #if !defined(__EIKBGFTY_H__) 00022 #include <eikbgfty.h> 00023 #endif 00024 00031 class CEikCtlLibrary : public CBase 00032 { 00033 public: 00037 IMPORT_C static TFileName ResourceFile(); 00041 IMPORT_C static TCreateByTypeFunction ControlFactory(); 00045 IMPORT_C static void InitializeL(); 00049 IMPORT_C static TCreateButtonGroupByTypeFunction ButtonGroupFactory(); 00050 public: 00051 static SEikControlInfo CreateByTypeL(TInt aControlId); 00052 static MEikButtonGroup* CreateButtonGroupByTypeL(TInt aButtonGroupType,EikButtonGroupFactory::TCreationData& aCreationData,TBool& aAddToButtonGroupStack); 00053 private: 00054 CEikCtlLibrary(); 00055 }; 00056 00057 #endif