wizardproviders/ftuwizardprovider/inc/ftuwizardprovider.h
changeset 0 c464cd7e2753
equal deleted inserted replaced
-1:000000000000 0:c464cd7e2753
       
     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:  FTU wirzard provider.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef FTU_WIZARDPROVIDER_H
       
    20 #define FTU_WIZARDPROVIDER_H
       
    21 
       
    22 #include "ftuwizardprovider_global.h"
       
    23 #include "ftutest_global.h"
       
    24 #include <QObject>
       
    25 #include <QVector>
       
    26 #include <QDir>
       
    27 
       
    28 class FtuWizard;
       
    29 class FtuWizardFactory;
       
    30 
       
    31 FTU_TEST_CLASS(FtuWizardProviderTest)
       
    32 
       
    33 
       
    34 /**
       
    35  * @ingroup group_ftuwizardprovider
       
    36  * @brief Loads and connects FTU plugins
       
    37  *
       
    38  * This service is responsible for loading FTU plugins.
       
    39  *
       
    40  * @since S60 ?S60_version.
       
    41  */
       
    42 class FTUWIZARDPROVIDER_EXPORT FtuWizardProvider : public QObject
       
    43 {
       
    44 
       
    45     Q_OBJECT
       
    46 
       
    47 public:
       
    48 
       
    49     /**
       
    50      * Default constructor.
       
    51      *
       
    52      * @since S60 ?S60_version.
       
    53      */
       
    54     FtuWizardProvider(QObject* =0);
       
    55 
       
    56     /**
       
    57      * Destructor.
       
    58      *
       
    59      * @since S60 ?S60_version.
       
    60      */
       
    61 	virtual ~FtuWizardProvider();
       
    62 
       
    63     /**
       
    64      * Loads all FTU plugins.
       
    65      * @param plugins The list will contain all found plugins on return.      
       
    66      * @since S60 ?S60_version.
       
    67      */
       
    68     void loadFTUPlugins(QList<FtuWizardFactory*>& plugins);
       
    69     
       
    70 private:
       
    71 
       
    72     
       
    73 private slots:
       
    74 
       
    75 private:
       
    76     
       
    77     QString mWizardManifestDir;
       
    78     
       
    79     FTU_TEST_FRIEND_CLASS(FtuWizardProviderTest)
       
    80 };
       
    81 
       
    82 
       
    83 
       
    84 
       
    85 #endif