diff -r 773be20e0a25 -r 993ab30e92fc search_plat/onlinesearchplugin_api/inc/onlinesearchpluginfactory.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/search_plat/onlinesearchplugin_api/inc/onlinesearchpluginfactory.h Tue Jul 06 14:17:22 2010 +0300 @@ -0,0 +1,47 @@ +/* + * 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: OnlineSearchPluginFactory class definition + * + */ + +#ifndef ONLINESEARCHPLUGINFACTORY_H +#define ONLINESEARCHPLUGINFACTORY_H + + +class OnlineSearchPlugin; + +/** + * @ingroup group_onlinesearchpluginmodel + * @brief A factory class through which the wizard plugin can be instantiated. + * + * OnlineSearchPluginFactory contains a factory method to create a wizard plugin instance. + * + * @lib ?library + * @since S60 ?S60_version + */ + +class OnlineSearchPluginFactory +{ +public: + /** + * Instantiates a wizard plugin object. + * @return The constructed wizard plugin object. + * @since S60 ?S60_version. + */ + virtual OnlineSearchPlugin* createPlugin() const = 0; +}; + +Q_DECLARE_INTERFACE(OnlineSearchPluginFactory, "com.nokia.search.OnlineSearchPluginFactory/1.0"); + +#endif // ONLINESEARCHPLUGIN_H