ftuwizardmodel/inc/ftuwizardfactory.h
branchRCL_3
changeset 25 7e0eff37aedb
parent 24 8ee96d21d9bf
child 26 e78c61e77b1a
equal deleted inserted replaced
24:8ee96d21d9bf 25:7e0eff37aedb
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  FtuWizardFactory class definition
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef FTUWIZARDFACTORY_H
       
    20 #define FTUWIZARDFACTORY_H
       
    21 
       
    22 
       
    23 class FtuWizard;
       
    24 
       
    25 /**
       
    26  * @ingroup group_ftuwizardmodel
       
    27  * @brief A factory class through which the wizard plugin can be instantiated.
       
    28  *
       
    29  * FtuWizardFactory contains a factory method to create a wizard plugin instance.
       
    30  * 
       
    31  * @lib ?library
       
    32  * @since S60 ?S60_version
       
    33  */
       
    34 
       
    35 class FtuWizardFactory
       
    36 {
       
    37 public:
       
    38     /**
       
    39      * Instantiates a wizard plugin object.
       
    40      * @return The constructed wizard plugin object.
       
    41      * @since S60 ?S60_version.
       
    42      */    
       
    43 	   virtual FtuWizard* createWizard() const = 0;
       
    44 };
       
    45 
       
    46 Q_DECLARE_INTERFACE(FtuWizardFactory, "ftu.nokia.com.FtuWizardFactory/1.0");
       
    47 
       
    48 #endif // FTUWIZARDFACTORY_H