epoc32/include/mw/eikfctry.h
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     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
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     7 //
     8 // Initial Contributors:
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
     9 // Nokia Corporation - initial contribution.
    10 //
    10 //
    11 // Contributors:
    11 // Contributors:
    16 #ifndef __EIKFCTRY_H__
    16 #ifndef __EIKFCTRY_H__
    17 #define __EIKFCTRY_H__
    17 #define __EIKFCTRY_H__
    18 
    18 
    19 #include <e32def.h>
    19 #include <e32def.h>
    20 
    20 
       
    21 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
       
    22 #include <uikon/eikctrlstatus.h>
       
    23 #endif
       
    24 
    21 class CCoeControl;
    25 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 
    26 
    42 /** Structure to hold the control specific information. It is used by 
    27 /** Structure to hold the control specific information. It is used by 
    43 EikControlFactory.
    28 EikControlFactory.
    44 
    29 
    45 @see EikControlFactory
    30 @see EikControlFactory
    65 	{
    50 	{
    66 public:
    51 public:
    67     IMPORT_C static SEikControlInfo CreateByTypeL(TInt aControlType);
    52     IMPORT_C static SEikControlInfo CreateByTypeL(TInt aControlType);
    68 	};
    53 	};
    69 
    54 
       
    55 /**
       
    56 WARNING: typedef for internal use ONLY.  Compatibility is not guaranteed in future releases.
       
    57 @publishedPartner
       
    58 @released
       
    59 */
       
    60 typedef SEikControlInfo (*TCreateByTypeFunction)(TInt);
       
    61 
    70 #endif	// __EIKFCTRY_H__
    62 #endif	// __EIKFCTRY_H__