remotemgmt_plat/dcmo_control_api/inc/dcmoClient.h
changeset 0 b497e44ab2fc
child 24 13d7c31c74e0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/remotemgmt_plat/dcmo_control_api/inc/dcmoClient.h	Thu Dec 17 09:07:52 2009 +0200
@@ -0,0 +1,108 @@
+/*
+* Copyright (c) 2009 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:  header file for DCMO Client
+*
+*/
+
+#include <e32base.h>
+#include <f32file.h>
+#include "dcmoconst.h"
+#include "dcmoclientbase.h"
+
+class RDCMOClient :  public RDCMOClientBase
+	{
+	public:
+	
+		/**
+		 * Createss DCMOClient
+		 * @param None
+		 * @return KErrNone Symbian error code
+		 */
+		 
+		IMPORT_C static RDCMOClient* NewL();	
+	
+		/**
+		 * Launches DCMOServer
+		 * @param None
+		 * @return KErrNone Symbian error code
+		 */
+		TInt OpenL();
+		
+		/**
+		 * Close server connection
+		 * @param None
+		 * @return None
+		 */
+		void Close();
+		
+		/**
+     * ~RDCMOClient.
+     * Virtual Destructor.
+     */
+    virtual ~RDCMOClient();
+    
+		/**
+		 * Get the interger type value
+		 * DCMOServer or test app should use this
+		 * @param aCategory
+		 * @param aId
+		 * @param aValue
+		 * @return TDCMOStatus 
+		 */
+		 TDCMOStatus GetDCMOIntAttributeValue(TDes& aCategory, TDCMONode aId, TInt& aValue);
+		 
+		 /**
+		 * Get the string type value
+		 * DCMOServer or test app should use this
+		 * @param aCategory
+		 * @param aId
+		 * @param aStrValue
+		 * @return TDCMOStatus
+		 */
+		 TDCMOStatus GetDCMOStrAttributeValue (TDes& aCategory, TDCMONode aId, TDes& aStrValue);
+		 
+		 /**
+		 * Set the interger type value
+		 * DCMOServer or test app should use this
+		 * @param aCategory
+		 * @param aId
+		 * @param aValue
+		 * @return TDCMOStatus
+		 */
+		 TDCMOStatus SetDCMOIntAttributeValue(TDes& aCategory, TDCMONode aId, TInt aValue);
+		 		 
+		 /**
+		 * Set the string type value
+		 * DCMOServer or test app should use this
+		 * @param aCategory
+		 * @param aId
+		 * @param aStrValue
+		 * @return TDCMOStatus
+		 */
+		 TDCMOStatus SetDCMOStrAttributeValue(TDes& aCategory, TDCMONode aId, TDes& aStrValue);
+		 
+		 /**
+		 * Get All type value
+		 * DCMOServer or test app should use this
+		 * @param aCategory
+		 * @param aId
+		 * @param aStrValue
+		 * @return TDCMOStatus
+		 */
+		 void SearchByGroupValue(TDes& aGroup, TDes& aAdapterList);
+			
+		
+	private:
+		
+};