upnpharvester/mdhserver/inc/client/mdhclientfactory.h
changeset 0 7f85d04be362
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/upnpharvester/mdhserver/inc/client/mdhclientfactory.h	Thu Dec 17 08:52:00 2009 +0200
@@ -0,0 +1,60 @@
+/*
+* Copyright (c) 2008 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:      Abstract factory for MdhClient
+*
+*/
+
+
+
+
+
+
+
+#ifndef C_CMMDHCLIENTFACTORY_H
+#define C_CMMDHCLIENTFACTORY_H
+
+#include <e32std.h>
+#include <e32base.h>
+
+/* Forward declarations. */
+class MCmMdhClient;
+class MCmServiceObserver;
+
+/**
+ *  Abstract factory for MdhClient
+ *
+ *  @lib cmmdhclient.lib
+ *  @since S60 v3.1
+ */
+class CCmMdhClientFactory : public CBase
+    {
+
+public:
+
+    /**
+     * Creates a new instance of CSMdhClient
+     * @return  pointer to CCmMdhClientEngine class
+     */
+    IMPORT_C static MCmMdhClient* NewCmMdhClientL( MCmServiceObserver& aServer );
+
+    /**
+     * Creates a new instance of CSMdhClient. Instance is left in
+     * cleanup stack.
+     * @return  pointer to CCmMdhClientEngine class
+     */
+    IMPORT_C static MCmMdhClient* NewCmMdhClientLC( MCmServiceObserver& aServer );
+
+    };
+
+#endif // C_CMMDHCLIENTFACTORY_H