85
|
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 factory private implementation.
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
#ifndef HSSTATEFACTORY_P_H
|
|
20 |
#define HSSTATEFACTORY_P_H
|
|
21 |
|
|
22 |
#include "hsistateprovider.h"
|
|
23 |
|
|
24 |
class QState;
|
|
25 |
class HsStateFactory;
|
|
26 |
class IHsStateProvider;
|
|
27 |
|
|
28 |
class HsStateFactoryPrivate : public QObject
|
|
29 |
{
|
|
30 |
Q_OBJECT
|
|
31 |
|
|
32 |
public:
|
|
33 |
|
|
34 |
HsStateFactoryPrivate(HsStateFactory* aPublic);
|
|
35 |
~HsStateFactoryPrivate();
|
|
36 |
|
|
37 |
private:
|
|
38 |
|
|
39 |
Q_DISABLE_COPY(HsStateFactoryPrivate)
|
|
40 |
|
|
41 |
public:
|
|
42 |
QList<HsStateToken> states();
|
|
43 |
QState* createState(const HsStateToken& aToken);
|
|
44 |
IHsStateProvider* loadProviderFromPlugin(const QString& aPluginName);
|
|
45 |
|
|
46 |
public:
|
|
47 |
HsStateFactory* mQ;
|
|
48 |
QString mPluginManifestDirectory;
|
|
49 |
QString mPluginDirectory;
|
|
50 |
|
|
51 |
};
|
|
52 |
|
|
53 |
#endif
|