upnpharvester/mdhserver/inc/client/mdhclientfactory.h
changeset 0 7f85d04be362
equal deleted inserted replaced
-1:000000000000 0:7f85d04be362
       
     1 /*
       
     2 * Copyright (c) 2008 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:      Abstract factory for MdhClient
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 #ifndef C_CMMDHCLIENTFACTORY_H
       
    25 #define C_CMMDHCLIENTFACTORY_H
       
    26 
       
    27 #include <e32std.h>
       
    28 #include <e32base.h>
       
    29 
       
    30 /* Forward declarations. */
       
    31 class MCmMdhClient;
       
    32 class MCmServiceObserver;
       
    33 
       
    34 /**
       
    35  *  Abstract factory for MdhClient
       
    36  *
       
    37  *  @lib cmmdhclient.lib
       
    38  *  @since S60 v3.1
       
    39  */
       
    40 class CCmMdhClientFactory : public CBase
       
    41     {
       
    42 
       
    43 public:
       
    44 
       
    45     /**
       
    46      * Creates a new instance of CSMdhClient
       
    47      * @return  pointer to CCmMdhClientEngine class
       
    48      */
       
    49     IMPORT_C static MCmMdhClient* NewCmMdhClientL( MCmServiceObserver& aServer );
       
    50 
       
    51     /**
       
    52      * Creates a new instance of CSMdhClient. Instance is left in
       
    53      * cleanup stack.
       
    54      * @return  pointer to CCmMdhClientEngine class
       
    55      */
       
    56     IMPORT_C static MCmMdhClient* NewCmMdhClientLC( MCmServiceObserver& aServer );
       
    57 
       
    58     };
       
    59 
       
    60 #endif // C_CMMDHCLIENTFACTORY_H