diff -r 000000000000 -r c464cd7e2753 stateproviders/ftustateprovider/inc/ftustateprovider_p.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/stateproviders/ftustateprovider/inc/ftustateprovider_p.h Mon Apr 19 14:01:47 2010 +0300 @@ -0,0 +1,62 @@ +/* +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: State provider private impl. +* +*/ + + +#ifndef FTU_STATEPROVIDERS_STATEPROVIDER_P_H +#define FTU_STATEPROVIDERS_STATEPROVIDER_P_H + +#include "ftutest_global.h" + +FTU_TEST_CLASS(FtuStateProviderTest) + +class QState; +class FtuStateProviderPrivate; + + + +/** + * @ingroup group_ftustateprovider + * @brief PState provider private impl. + * + * @lib ftustateprovider + * @since S60 ?S60_version. + */ +class FtuStateProviderPrivate : public QObject +{ + + Q_OBJECT +public: + FtuStateProviderPrivate(QObject *parent=NULL); + +public: + + /** + * Creates a state based on the given uri. + * + * @param uri Identifies the state to be created. + * @since S60 ?S60_version. + * @return Constructed QState, ownership transferred. + */ + QState* createState(const QString& uri); + +private: + + FTU_TEST_FRIEND_CLASS(FtuStateProviderTest) +}; + + +#endif //FTU_STATEPROVIDERS_STATEPROVIDER_P_H