homescreensrv_plat/sapi_contentpublishing/inc/ccontentpublishinginterface.h
changeset 93 82b66994846c
parent 92 782e3408c2ab
child 94 dbb8300717f7
equal deleted inserted replaced
92:782e3408c2ab 93:82b66994846c
     1 /*
       
     2 * Copyright (c) 2007 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:  CPS Service Content Interface
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CCONTENTPUBLISHINGINTERFACE_H
       
    20 #define CCONTENTPUBLISHINGINTERFACE_H
       
    21 
       
    22 #include "cdatasourceinterface.h"
       
    23 
       
    24 /**
       
    25  *  CPS Service Interface
       
    26  *
       
    27  *  This class implements interface to CPS Service.
       
    28  *
       
    29  *  @lib cpclient.dll
       
    30  *  @since S60 v 5.0
       
    31  */
       
    32 class CContentPublishingInterface : public CDataSourceInterface
       
    33     {
       
    34 public:
       
    35 
       
    36     /**
       
    37      * Two-phased constructor.
       
    38      */      
       
    39     static CContentPublishingInterface* NewL();
       
    40 
       
    41     /**
       
    42      * Two-phased constructor.
       
    43      */  
       
    44     static CContentPublishingInterface* NewLC();
       
    45 
       
    46     /**
       
    47      * Desctructor.
       
    48      */  
       
    49     ~CContentPublishingInterface();
       
    50 
       
    51 private:
       
    52 
       
    53     /**
       
    54      * C++ default constructor.
       
    55      */     
       
    56     CContentPublishingInterface();
       
    57     
       
    58     /**
       
    59      * Perform the second phase construction of a CCPClientInterface object.
       
    60      */    
       
    61     void ConstructL();
       
    62 
       
    63     /**
       
    64      * Proccess request issued by service client.
       
    65      *
       
    66      * @param aCmdName the name of the service command to invoke
       
    67      * @param aInParamList the input parameter list, can be empty list
       
    68      * @param [in,out] aOutParamList the output parameter list, can be empty.
       
    69      * @param aCmdOptions Options for the command
       
    70      * @param aCallback callback to be registered by consumer application
       
    71      *
       
    72      */
       
    73     virtual void ProcessCommandL( const TDesC8& aCmdName,
       
    74         const CLiwGenericParamList& aInParamList,
       
    75         CLiwGenericParamList& aOutParamList, TUint aCmdOptions,
       
    76         MLiwNotifyCallback* aCallback );
       
    77 
       
    78 private:
       
    79     // data
       
    80 
       
    81     };
       
    82 
       
    83 #endif // CCONTENTPUBLISHINGINTERFACE_H