homescreensrv_plat/sapi_contentpublishing/inc/cpclient.h
changeset 93 82b66994846c
parent 92 782e3408c2ab
child 94 dbb8300717f7
--- a/homescreensrv_plat/sapi_contentpublishing/inc/cpclient.h	Fri Apr 16 14:45:49 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,162 +0,0 @@
-/*
-* Copyright (c)  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:  Content Publisher server client
- *
-*/
-
-
-#ifndef CPCLIENT_H
-#define CPCLIENT_H
-
-// INCLUDES
-#include "cpclientsession.h"
-
-// FORWARD DECLARATIONS
-#ifdef CONTENT_PUBLISHER_DEBUG
-class CCPDebug;
-#endif
-class CLiwGenericParamList;
-class CCPActiveNotifier;
-class CCPLiwMap;
-class MLiwNotifyCallback;
-class CLiwDefaultMap;
-
-// CLASS DECLARATION
-
-/**
- *  Client-side interface to Content Publisher
- *
- *  This class provides the client-side interface to the Content Publisher
- *  server.
- * 
- *  @lib cpclient.dll
- *  @since S6CCPActiveNotifierNotifier v 5.CCPActiveNotifierNotifier
- */
-class CCPClient : public CBase
-    {
-public:
-
-    /**
-     * Two-phased constructor.
-     */    
-    static CCPClient* NewL();
-
-    /**
-     * Two-phased constructor.
-     */    
-    static CCPClient* NewLC();
-
-    /**
-     * Destructor.
-     */
-    ~CCPClient();
-
-    /**
-     * Send command to server to GetList of data from Content Publisher Database
-     *
-     * @since S6CCPActiveNotifierNotifier v 5.CCPActiveNotifierNotifier
-     * @param aInParamList input parameter list (filter)
-     * @param aOutParamList output parameter list (iterable of maps)
-     */
-    void GetListL( const CLiwGenericParamList& aInParamList,
-        CLiwGenericParamList& aOutParamList );
-
-    /**
-     * Send command to server to Add data to Content Publisher Database
-     *
-     * @since S6CCPActiveNotifierNotifier v 5.CCPActiveNotifierNotifier
-     * @param aInParamList input parameter list (data to add)
-     * @param aOutParamList output parameter list (id of data or error code)
-     */
-    void AddL( const CLiwGenericParamList& aInParamList,
-        CLiwGenericParamList& aOutParamList );
-
-    /**
-     * Send command to server to Delete data from Content Publisher Database
-     *
-     * @since S6CCPActiveNotifierNotifier v 5.CCPActiveNotifierNotifier
-     * @param aInParamList input parameter list (filter)
-     */
-    void DeleteL( const CLiwGenericParamList& aInParamList );
-
-    /**
-     * Send command to server to Register observer for notifications
-     *
-     * @since S6CCPActiveNotifierNotifier v 5.CCPActiveNotifierNotifier
-     * @param aObserver 
-     */
-    void RegisterObserverL( MLiwNotifyCallback* aObserver,
-        const CLiwGenericParamList& aInParamList, TInt32 aTransactionId );
-   
-    /**
-     * Unregister observer if Transaction Id provided or all observers if not
-     *
-     * @since S6CCPActiveNotifierNotifier v 5.CCPActiveNotifierNotifier
-     * @param aInParamList input parameter list (transactionId)
-     */
-    void UnregisterObserversL( const CLiwGenericParamList& aInParamList );
-
-    /**
-     * Send command to server to ExecuteAction
-     *
-     * @since S6CCPActiveNotifierNotifier v 5.CCPActiveNotifierNotifier
-     * @param aInParamList input parameter list (filter)
-     * @param aOutParamList output action_map
-     */
-    void ExecuteActionL( const CLiwGenericParamList& aInParamList );
-
-    /**
-     * Check second param from IDataSource interface
-     *
-     * @since S6CCPActiveNotifierNotifier v 5.CCPActiveNotifierNotifier
-     * @param aInParamList input parameter list 
-     * @param aKey key with map
-     */    
-    void CheckMapL( const CLiwGenericParamList& aInParamList, 
-            const TDesC8& aKey );
-
-private:
-
-    /**
-     * C++ default constructor.
-     */
-    CCPClient();
-
-    /**
-     * Perform the second phase construction of a CCPClient object.
-     */
-    void ConstructL();
-
-private:
-    //data
-
-    /**
-     * Client-server session
-     */
-    RCPServerClient iServerClient;
-    /**
-     * Pointer to an active object
-     * Own.  
-     */
-    CCPActiveNotifier * iActiveNotifier;
-
-#ifdef CONTENT_PUBLISHER_DEBUG
-    CCPDebug* iDebug;
-#endif
-
-    };
-
-#endif // CPCLIENT_H
-
-// End of File