2 * Copyright (c) 1997-1999 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
19 #if !defined(__EIKCTLIB_H__)
20 #define __EIKCTLIB_H__
22 #if !defined(__F32FILE_H__)
26 #if !defined(__E32BASE_H__)
30 #if !defined(__EIKLIBRY_H__)
34 #if !defined(__EIKBGFTY_H__)
39 * The CEikCtlLibrary class proovides static functions called by CEikDllInitializer; setting EikCtl
40 * library resources in Cone and giving access to its controls via ControlFactoryFuncArray() in EikonEnv
44 class CEikCtlLibrary : public CBase
48 * ResourceFile() returns name of the resource file eikctl.rsc
50 IMPORT_C static TFileName ResourceFile();
52 * ControlFactory provides ability to create controls by id number.
54 IMPORT_C static TCreateByTypeFunction ControlFactory();
56 * Dll initialization routine
58 IMPORT_C static void InitializeL();
60 * Factory to create buttongroups
62 IMPORT_C static TCreateButtonGroupByTypeFunction ButtonGroupFactory();
64 static SEikControlInfo CreateByTypeL(TInt aControlId);
65 static MEikButtonGroup* CreateButtonGroupByTypeL(TInt aButtonGroupType,EikButtonGroupFactory::TCreationData& aCreationData,TBool& aAddToButtonGroupStack);