mmuifw_plat/alf_widgetutils_api/inc/alf/ialffactoryplugin.h
changeset 17 3eca7e70b1b8
parent 3 4526337fb576
--- a/mmuifw_plat/alf_widgetutils_api/inc/alf/ialffactoryplugin.h	Tue Feb 02 00:28:09 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,87 +0,0 @@
-/*
-* Copyright (c) 2007 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:  factory plugin interface.
-*
-*/
-
-
-
-#ifndef I_ALFFACTORYPLUGIN_H
-#define I_ALFFACTORYPLUGIN_H
-
-
-#include <alf/ialfinterfacebase.h>
-#include <alf/alftypes.h>
-
-namespace Alf
-    {
-
-namespace alffactoryplugin
-    {
-static const IfId ident=
-    {
-    0,"alffactoryplugin"
-    };
-    }
-
-/**
- *  @class IAlfFactoryPlugin ialffactoryplugin.h "alf/ialffactoryplugin.h"
- *  Base class for factory plugins.
- *
- *  @lib alfwidgetutils.lib
- *  @since S60 ?S60_version
- *  @status Draft
- */
-class IAlfFactoryPlugin : public IAlfInterfaceBase
-    {
-public:
-    static const IfId& type()
-        {
-        return alffactoryplugin::ident;
-        }
-public:
-    /**
-     * Create factory product.
-     * @param aProduct Product to create.
-     * @param aInitData Initialization data for product.
-     * @return Instance or 0.
-     */
-    virtual IAlfInterfaceBase* createProduct( 
-                                   const char* aProduct, void* aInitData ) = 0;
-
-    /**
-     * Count available products.
-     *
-     * @return Product count.
-     */
-    virtual int productCount() const = 0;
-
-    /**
-     * Fetch product info by index.
-     *
-     * @param aIndex List index.
-     * @return String describing product.
-     */
-    virtual const char* productInfo( int aIndex ) const = 0;
-
-    /**
-     * Destructor.
-     */
-    virtual ~IAlfFactoryPlugin() {};
-    };
-    }
-
-#endif
-
-// End of File