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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef __EIKFCTRY_H__
17 #define __EIKFCTRY_H__
23 /** Flags to determine the control status.
30 /** Flag to determine whether a control has ears. Ears are triangular buttons
31 for moving forwards or backwards through the list. */
32 EEikControlHasEars=0x01,
33 /** Flag to determine whether the control is unable to receive keyboard focus. */
34 EEikControlIsNonFocusing=0x02,
35 /** Flag to determine whether the control is higher than a normal control. */
36 EEikControlHasExtraAscent=0x04,
37 /** Flag to determine if a control should be placed directly
38 in the view/dialog or if it should be placed in a pop-out control. */
39 EEikControlIsNonEditInPlace=0x08
42 /** Structure to hold the control specific information. It is used by
45 @see EikControlFactory
49 struct SEikControlInfo
51 CCoeControl* iControl;
57 /** Abstract factory that creates controls by type.
59 This class provides a unified way to create controls according to the
60 specified control integer ID.
64 class EikControlFactory
67 IMPORT_C static SEikControlInfo CreateByTypeL(TInt aControlType);
70 #endif // __EIKFCTRY_H__