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: HsRuntime factory private implementation..
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
#ifndef HSRUNTIMEFACTORY_P_H
|
|
20 |
#define HSRUNTIMEFACTORY_P_H
|
|
21 |
|
|
22 |
#include "hsiruntimeprovider.h"
|
|
23 |
|
|
24 |
class HsRuntimeFactory;
|
|
25 |
class IHsRuntimeProvider;
|
|
26 |
|
|
27 |
class HsRuntimeFactoryPrivate : public QObject
|
|
28 |
{
|
|
29 |
Q_OBJECT
|
|
30 |
|
|
31 |
public:
|
|
32 |
HsRuntimeFactoryPrivate(HsRuntimeFactory* aPublic);
|
|
33 |
~HsRuntimeFactoryPrivate();
|
|
34 |
|
|
35 |
QList<HsRuntimeToken> runtimes();
|
|
36 |
HsRuntime* createRuntime(const HsRuntimeToken& aToken);
|
|
37 |
IHsRuntimeProvider* loadProviderFromPlugin(const QString& aPluginName);
|
|
38 |
|
|
39 |
|
|
40 |
private:
|
|
41 |
Q_DISABLE_COPY(HsRuntimeFactoryPrivate)
|
|
42 |
|
|
43 |
public:
|
|
44 |
HsRuntimeFactory* mQ;
|
|
45 |
QString mPluginManifestDirectory;
|
|
46 |
QString mPluginDirectory;
|
|
47 |
};
|
|
48 |
|
|
49 |
#endif
|