stateproviders/ftustateprovider/inc/ftustateprovider_p.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:  State provider private impl.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef FTU_STATEPROVIDERS_STATEPROVIDER_P_H
       
    20 #define FTU_STATEPROVIDERS_STATEPROVIDER_P_H
       
    21 
       
    22 #include "ftutest_global.h"
       
    23 
       
    24 FTU_TEST_CLASS(FtuStateProviderTest)
       
    25 
       
    26 class QState;
       
    27 class FtuStateProviderPrivate;
       
    28 
       
    29 
       
    30     
       
    31 /**
       
    32  * @ingroup group_ftustateprovider
       
    33  * @brief PState provider private impl.
       
    34  *
       
    35  * @lib ftustateprovider
       
    36  * @since S60 ?S60_version.
       
    37  */
       
    38 class FtuStateProviderPrivate : public QObject
       
    39 {
       
    40 
       
    41     Q_OBJECT
       
    42 public:
       
    43     FtuStateProviderPrivate(QObject *parent=NULL);
       
    44 
       
    45 public:
       
    46 
       
    47     /**
       
    48      * Creates a state based on the given uri.
       
    49      *
       
    50      * @param uri Identifies the state to be created.
       
    51      * @since S60 ?S60_version.
       
    52      * @return Constructed QState, ownership transferred.
       
    53      */
       
    54     QState* createState(const QString& uri);
       
    55 
       
    56 private:            
       
    57 
       
    58     FTU_TEST_FRIEND_CLASS(FtuStateProviderTest)
       
    59 };
       
    60 
       
    61 
       
    62 #endif //FTU_STATEPROVIDERS_STATEPROVIDER_P_H