author | William Roberts <williamr@symbian.org> |
Wed, 31 Mar 2010 12:33:34 +0100 | |
branch | Symbian3 |
changeset 4 | 837f303aceeb |
permissions | -rw-r--r-- |
williamr@4 | 1 |
/* |
williamr@4 | 2 |
* Copyright (c) 1997-1999 Nokia Corporation and/or its subsidiary(-ies). |
williamr@4 | 3 |
* All rights reserved. |
williamr@4 | 4 |
* This component and the accompanying materials are made available |
williamr@4 | 5 |
* under the terms of "Eclipse Public License v1.0" |
williamr@4 | 6 |
* which accompanies this distribution, and is available |
williamr@4 | 7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
williamr@4 | 8 |
* |
williamr@4 | 9 |
* Initial Contributors: |
williamr@4 | 10 |
* Nokia Corporation - initial contribution. |
williamr@4 | 11 |
* |
williamr@4 | 12 |
* Contributors: |
williamr@4 | 13 |
* |
williamr@4 | 14 |
* Description: |
williamr@4 | 15 |
* |
williamr@4 | 16 |
*/ |
williamr@4 | 17 |
|
williamr@4 | 18 |
|
williamr@4 | 19 |
#if !defined(__EIKCTLIB_H__) |
williamr@4 | 20 |
#define __EIKCTLIB_H__ |
williamr@4 | 21 |
|
williamr@4 | 22 |
#if !defined(__F32FILE_H__) |
williamr@4 | 23 |
#include <f32file.h> |
williamr@4 | 24 |
#endif |
williamr@4 | 25 |
|
williamr@4 | 26 |
#if !defined(__E32BASE_H__) |
williamr@4 | 27 |
#include <e32base.h> |
williamr@4 | 28 |
#endif |
williamr@4 | 29 |
|
williamr@4 | 30 |
#if !defined(__EIKLIBRY_H__) |
williamr@4 | 31 |
#include <eiklibry.h> |
williamr@4 | 32 |
#endif |
williamr@4 | 33 |
|
williamr@4 | 34 |
#if !defined(__EIKBGFTY_H__) |
williamr@4 | 35 |
#include <eikbgfty.h> |
williamr@4 | 36 |
#endif |
williamr@4 | 37 |
|
williamr@4 | 38 |
/** |
williamr@4 | 39 |
* The CEikCtlLibrary class proovides static functions called by CEikDllInitializer; setting EikCtl |
williamr@4 | 40 |
* library resources in Cone and giving access to its controls via ControlFactoryFuncArray() in EikonEnv |
williamr@4 | 41 |
* |
williamr@4 | 42 |
* @internal |
williamr@4 | 43 |
*/ |
williamr@4 | 44 |
class CEikCtlLibrary : public CBase |
williamr@4 | 45 |
{ |
williamr@4 | 46 |
public: |
williamr@4 | 47 |
/** |
williamr@4 | 48 |
* ResourceFile() returns name of the resource file eikctl.rsc |
williamr@4 | 49 |
*/ |
williamr@4 | 50 |
IMPORT_C static TFileName ResourceFile(); |
williamr@4 | 51 |
/** |
williamr@4 | 52 |
* ControlFactory provides ability to create controls by id number. |
williamr@4 | 53 |
*/ |
williamr@4 | 54 |
IMPORT_C static TCreateByTypeFunction ControlFactory(); |
williamr@4 | 55 |
/** |
williamr@4 | 56 |
* Dll initialization routine |
williamr@4 | 57 |
*/ |
williamr@4 | 58 |
IMPORT_C static void InitializeL(); |
williamr@4 | 59 |
/** |
williamr@4 | 60 |
* Factory to create buttongroups |
williamr@4 | 61 |
*/ |
williamr@4 | 62 |
IMPORT_C static TCreateButtonGroupByTypeFunction ButtonGroupFactory(); |
williamr@4 | 63 |
public: |
williamr@4 | 64 |
static SEikControlInfo CreateByTypeL(TInt aControlId); |
williamr@4 | 65 |
static MEikButtonGroup* CreateButtonGroupByTypeL(TInt aButtonGroupType,EikButtonGroupFactory::TCreationData& aCreationData,TBool& aAddToButtonGroupStack); |
williamr@4 | 66 |
private: |
williamr@4 | 67 |
CEikCtlLibrary(); |
williamr@4 | 68 |
}; |
williamr@4 | 69 |
|
williamr@4 | 70 |
#endif |