homescreensrv_plat/sapi_contentpublishing/inc/cpclientsession.h
changeset 93 82b66994846c
parent 92 782e3408c2ab
child 94 dbb8300717f7
--- a/homescreensrv_plat/sapi_contentpublishing/inc/cpclientsession.h	Fri Apr 16 14:45:49 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,158 +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:  Content Publisher server client
- *
-*/
-
-
-#ifndef CPCLIENTSESSION_H
-#define CPCLIENTSESSION_H
-
-// INCLUDES
-
-#include <e32base.h>
-
-// FORWARD DECLARATIONS
-class CLiwGenericParamList;
-class CCPActive;
-class CCPLiwMap;
-
-// CLASS DECLARATION
-/**
- * Client-side interface to CPS Server
- *
- * This class provides the client-side interface to the active data server session,
- * it just passes requests to the server.
- *
- */
-class RCPServerClient : public RSessionBase
-    {
-public:
-
-    /**
-     * Construct the object.
-     */
-    RCPServerClient();
-
-    /**
-     * Connects to the server and create a session.
-     * When the server is not running, the function starts the server.
-     * @return error code
-     */
-    TInt Connect();
-
-    /**
-     * Pass Add request to the server
-     *
-     * @since S60 v 5.0
-     * @param aInParamList const reference to the input list
-     * @param aOutParamList reference to the output list
-     */
-    void AddL( const CCPLiwMap& aMap, CLiwGenericParamList& aOutParamList );
-
-    /**
-     * Pass GetList request to the server
-     *
-     * @since S60 v 5.0
-     * @param aInParamList const reference to the input list
-     * @param aOutParamList reference to the output list
-     */
-    void GetListL( const CCPLiwMap& aMap,
-        CLiwGenericParamList& aOutParamList );
-
-    /**
-     * Pass Delete request to the server
-     *
-     * @since S60 v 5.0
-     * @param aInParamList const reference to the input list
-     */
-    void DeleteL( const CCPLiwMap& aMapt );
-
-    /**
-     * Pass RegisterObserver request to the server
-     *
-     * @since S60 v 5.0
-     * @param aStatus  ?
-     * @param aBuf ?
-     * @param aSize ?
-     * @return error code
-     */
-    void RegisterObserverL( TRequestStatus& aStatus, TIpcArgs& aArgs );
-    
-    /**
-     * Pass AddObserver request to the server
-     *
-     * @since S60 v 5.0
-     * @return error code
-     */
-    void AddObserver( TIpcArgs& aArgs );
-
-    /**
-     * Pass RemoveObserver request to the server
-     *
-     * @since S60 v 5.0
-     * @return error code
-     */
-    void RemoveObserver( TIpcArgs& aArgs );
-    
-    /**
-     * Pass ExecuteAction request to the server
-     *
-     * @since S60 v 5.0
-     * @param aInParamList const reference to the input list
-     */
-    void ExecuteActionL( const CCPLiwMap& aMap );
-
-    /**
-     * Pass GetChangeInfoData request to server
-     * @param aBuf reference to the input list
-     * @return error code
-     */
-    TInt GetChangeInfoData( TDes8& aBuf );
-    /**
-     * Pass Activate request to the server
-     *
-     * @since S60 v 5.0
-     * @param aInParamList const reference to the input list
-     */
-    void ActivateL( const CCPLiwMap& aMap, TUint aOptions = 0 );
-
-    /**
-     * Pass UnregisterObserver request to the server
-     *
-     * @since S60 v 5.0
-     * @return error code
-     */
-    void UnregisterObserver();
-
-    /**
-     * Closes session
-     *
-     * @since S60 v 5.0
-     */
-    void Close();
-
-    /**
-     * Return version information
-     */
-    TVersion Version() const;
-
-private:
-    //private methods
-
-    };
-
-#endif // CPCLIENTSESSION_H
-
-// End of File