epoc32/include/eikfctry.h
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
permissions -rw-r--r--
Final list of Symbian^2 public API header files
     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".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 //
    15 
    16 #ifndef __EIKFCTRY_H__
    17 #define __EIKFCTRY_H__
    18 
    19 #include <e32def.h>
    20 
    21 class CCoeControl;
    22 
    23 /** Flags to determine the control status.
    24 
    25 @publishedPartner
    26 @released
    27 */
    28 enum
    29 	{
    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
    40 	};
    41 
    42 /** Structure to hold the control specific information. It is used by 
    43 EikControlFactory.
    44 
    45 @see EikControlFactory
    46 @publishedAll
    47 @released
    48 */
    49 struct SEikControlInfo
    50     {
    51     CCoeControl* iControl;
    52 	TInt iTrailerTextId;
    53     TInt iFlags;
    54     };
    55 
    56 
    57 /** Abstract factory that creates controls by type. 
    58 
    59 This class provides a unified way to create controls according to the 
    60 specified control integer ID. 
    61 
    62 @publishedAll 
    63 @released */
    64 class EikControlFactory
    65 	{
    66 public:
    67     IMPORT_C static SEikControlInfo CreateByTypeL(TInt aControlType);
    68 	};
    69 
    70 #endif	// __EIKFCTRY_H__