9
|
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: OnlineSearchPluginFactory class definition
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
#ifndef ONLINESEARCHPLUGINFACTORY_H
|
|
19 |
#define ONLINESEARCHPLUGINFACTORY_H
|
|
20 |
|
|
21 |
|
|
22 |
class OnlineSearchPlugin;
|
|
23 |
|
|
24 |
/**
|
|
25 |
* @ingroup group_onlinesearchpluginmodel
|
|
26 |
* @brief A factory class through which the wizard plugin can be instantiated.
|
|
27 |
*
|
|
28 |
* OnlineSearchPluginFactory contains a factory method to create a wizard plugin instance.
|
|
29 |
*
|
|
30 |
* @lib ?library
|
|
31 |
* @since S60 ?S60_version
|
|
32 |
*/
|
|
33 |
|
|
34 |
class OnlineSearchPluginFactory
|
|
35 |
{
|
|
36 |
public:
|
|
37 |
/**
|
|
38 |
* Instantiates a wizard plugin object.
|
|
39 |
* @return The constructed wizard plugin object.
|
|
40 |
* @since S60 ?S60_version.
|
|
41 |
*/
|
|
42 |
virtual OnlineSearchPlugin* createPlugin() const = 0;
|
|
43 |
};
|
|
44 |
|
|
45 |
Q_DECLARE_INTERFACE(OnlineSearchPluginFactory, "com.nokia.search.OnlineSearchPluginFactory/1.0");
|
|
46 |
|
|
47 |
#endif // ONLINESEARCHPLUGIN_H
|