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.
williamr@2
     1
// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
williamr@2
     2
// All rights reserved.
williamr@2
     3
// This component and the accompanying materials are made available
williamr@4
     4
// under the terms of "Eclipse Public License v1.0"
williamr@2
     5
// which accompanies this distribution, and is available
williamr@4
     6
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
williamr@2
     7
//
williamr@2
     8
// Initial Contributors:
williamr@2
     9
// Nokia Corporation - initial contribution.
williamr@2
    10
//
williamr@2
    11
// Contributors:
williamr@2
    12
//
williamr@2
    13
// Description:
williamr@2
    14
//
williamr@2
    15
williamr@2
    16
#ifndef __EIKFCTRY_H__
williamr@2
    17
#define __EIKFCTRY_H__
williamr@2
    18
williamr@2
    19
#include <e32def.h>
williamr@2
    20
williamr@4
    21
#ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
williamr@4
    22
#include <uikon/eikctrlstatus.h>
williamr@4
    23
#endif
williamr@4
    24
williamr@2
    25
class CCoeControl;
williamr@2
    26
williamr@2
    27
/** Structure to hold the control specific information. It is used by 
williamr@2
    28
EikControlFactory.
williamr@2
    29
williamr@2
    30
@see EikControlFactory
williamr@2
    31
@publishedAll
williamr@2
    32
@released
williamr@2
    33
*/
williamr@2
    34
struct SEikControlInfo
williamr@2
    35
    {
williamr@2
    36
    CCoeControl* iControl;
williamr@2
    37
	TInt iTrailerTextId;
williamr@2
    38
    TInt iFlags;
williamr@2
    39
    };
williamr@2
    40
williamr@2
    41
williamr@2
    42
/** Abstract factory that creates controls by type. 
williamr@2
    43
williamr@2
    44
This class provides a unified way to create controls according to the 
williamr@2
    45
specified control integer ID. 
williamr@2
    46
williamr@2
    47
@publishedAll 
williamr@2
    48
@released */
williamr@2
    49
class EikControlFactory
williamr@2
    50
	{
williamr@2
    51
public:
williamr@2
    52
    IMPORT_C static SEikControlInfo CreateByTypeL(TInt aControlType);
williamr@2
    53
	};
williamr@2
    54
williamr@4
    55
/**
williamr@4
    56
WARNING: typedef for internal use ONLY.  Compatibility is not guaranteed in future releases.
williamr@4
    57
@publishedPartner
williamr@4
    58
@released
williamr@4
    59
*/
williamr@4
    60
typedef SEikControlInfo (*TCreateByTypeFunction)(TInt);
williamr@4
    61
williamr@2
    62
#endif	// __EIKFCTRY_H__