1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef __EIKFCTRY_H__
17 #define __EIKFCTRY_H__
21 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
22 #include <uikon/eikctrlstatus.h>
27 /** Structure to hold the control specific information. It is used by
30 @see EikControlFactory
34 struct SEikControlInfo
36 CCoeControl* iControl;
42 /** Abstract factory that creates controls by type.
44 This class provides a unified way to create controls according to the
45 specified control integer ID.
49 class EikControlFactory
52 IMPORT_C static SEikControlInfo CreateByTypeL(TInt aControlType);
56 WARNING: typedef for internal use ONLY. Compatibility is not guaranteed in future releases.
60 typedef SEikControlInfo (*TCreateByTypeFunction)(TInt);
62 #endif // __EIKFCTRY_H__