epoc32/include/mw/eikfctry.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     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".
     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 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
    22 #include <uikon/eikctrlstatus.h>
    23 #endif
    24 
    25 class CCoeControl;
    26 
    27 /** Structure to hold the control specific information. It is used by 
    28 EikControlFactory.
    29 
    30 @see EikControlFactory
    31 @publishedAll
    32 @released
    33 */
    34 struct SEikControlInfo
    35     {
    36     CCoeControl* iControl;
    37 	TInt iTrailerTextId;
    38     TInt iFlags;
    39     };
    40 
    41 
    42 /** Abstract factory that creates controls by type. 
    43 
    44 This class provides a unified way to create controls according to the 
    45 specified control integer ID. 
    46 
    47 @publishedAll 
    48 @released */
    49 class EikControlFactory
    50 	{
    51 public:
    52     IMPORT_C static SEikControlInfo CreateByTypeL(TInt aControlType);
    53 	};
    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 
    62 #endif	// __EIKFCTRY_H__