1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/mw/eikctlib.h Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -0,0 +1,70 @@
1.4 +/*
1.5 +* Copyright (c) 1997-1999 Nokia Corporation and/or its subsidiary(-ies).
1.6 +* All rights reserved.
1.7 +* This component and the accompanying materials are made available
1.8 +* under the terms of "Eclipse Public License v1.0"
1.9 +* which accompanies this distribution, and is available
1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.11 +*
1.12 +* Initial Contributors:
1.13 +* Nokia Corporation - initial contribution.
1.14 +*
1.15 +* Contributors:
1.16 +*
1.17 +* Description:
1.18 +*
1.19 +*/
1.20 +
1.21 +
1.22 +#if !defined(__EIKCTLIB_H__)
1.23 +#define __EIKCTLIB_H__
1.24 +
1.25 +#if !defined(__F32FILE_H__)
1.26 +#include <f32file.h>
1.27 +#endif
1.28 +
1.29 +#if !defined(__E32BASE_H__)
1.30 +#include <e32base.h>
1.31 +#endif
1.32 +
1.33 +#if !defined(__EIKLIBRY_H__)
1.34 +#include <eiklibry.h>
1.35 +#endif
1.36 +
1.37 +#if !defined(__EIKBGFTY_H__)
1.38 +#include <eikbgfty.h>
1.39 +#endif
1.40 +
1.41 +/**
1.42 + * The CEikCtlLibrary class proovides static functions called by CEikDllInitializer; setting EikCtl
1.43 + * library resources in Cone and giving access to its controls via ControlFactoryFuncArray() in EikonEnv
1.44 + *
1.45 + * @internal
1.46 + */
1.47 +class CEikCtlLibrary : public CBase
1.48 + {
1.49 +public:
1.50 + /**
1.51 + * ResourceFile() returns name of the resource file eikctl.rsc
1.52 + */
1.53 + IMPORT_C static TFileName ResourceFile();
1.54 + /**
1.55 + * ControlFactory provides ability to create controls by id number.
1.56 + */
1.57 + IMPORT_C static TCreateByTypeFunction ControlFactory();
1.58 + /**
1.59 + * Dll initialization routine
1.60 + */
1.61 + IMPORT_C static void InitializeL();
1.62 + /**
1.63 + * Factory to create buttongroups
1.64 + */
1.65 + IMPORT_C static TCreateButtonGroupByTypeFunction ButtonGroupFactory();
1.66 +public:
1.67 + static SEikControlInfo CreateByTypeL(TInt aControlId);
1.68 + static MEikButtonGroup* CreateButtonGroupByTypeL(TInt aButtonGroupType,EikButtonGroupFactory::TCreationData& aCreationData,TBool& aAddToButtonGroupStack);
1.69 +private:
1.70 + CEikCtlLibrary();
1.71 + };
1.72 +
1.73 +#endif