remotemgmt_plat/dcmo_control_api/inc/dcmoClient.h
changeset 0 b497e44ab2fc
child 24 13d7c31c74e0
equal deleted inserted replaced
-1:000000000000 0:b497e44ab2fc
       
     1 /*
       
     2 * Copyright (c) 2009 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:  header file for DCMO Client
       
    15 *
       
    16 */
       
    17 
       
    18 #include <e32base.h>
       
    19 #include <f32file.h>
       
    20 #include "dcmoconst.h"
       
    21 #include "dcmoclientbase.h"
       
    22 
       
    23 class RDCMOClient :  public RDCMOClientBase
       
    24 	{
       
    25 	public:
       
    26 	
       
    27 		/**
       
    28 		 * Createss DCMOClient
       
    29 		 * @param None
       
    30 		 * @return KErrNone Symbian error code
       
    31 		 */
       
    32 		 
       
    33 		IMPORT_C static RDCMOClient* NewL();	
       
    34 	
       
    35 		/**
       
    36 		 * Launches DCMOServer
       
    37 		 * @param None
       
    38 		 * @return KErrNone Symbian error code
       
    39 		 */
       
    40 		TInt OpenL();
       
    41 		
       
    42 		/**
       
    43 		 * Close server connection
       
    44 		 * @param None
       
    45 		 * @return None
       
    46 		 */
       
    47 		void Close();
       
    48 		
       
    49 		/**
       
    50      * ~RDCMOClient.
       
    51      * Virtual Destructor.
       
    52      */
       
    53     virtual ~RDCMOClient();
       
    54     
       
    55 		/**
       
    56 		 * Get the interger type value
       
    57 		 * DCMOServer or test app should use this
       
    58 		 * @param aCategory
       
    59 		 * @param aId
       
    60 		 * @param aValue
       
    61 		 * @return TDCMOStatus 
       
    62 		 */
       
    63 		 TDCMOStatus GetDCMOIntAttributeValue(TDes& aCategory, TDCMONode aId, TInt& aValue);
       
    64 		 
       
    65 		 /**
       
    66 		 * Get the string type value
       
    67 		 * DCMOServer or test app should use this
       
    68 		 * @param aCategory
       
    69 		 * @param aId
       
    70 		 * @param aStrValue
       
    71 		 * @return TDCMOStatus
       
    72 		 */
       
    73 		 TDCMOStatus GetDCMOStrAttributeValue (TDes& aCategory, TDCMONode aId, TDes& aStrValue);
       
    74 		 
       
    75 		 /**
       
    76 		 * Set the interger type value
       
    77 		 * DCMOServer or test app should use this
       
    78 		 * @param aCategory
       
    79 		 * @param aId
       
    80 		 * @param aValue
       
    81 		 * @return TDCMOStatus
       
    82 		 */
       
    83 		 TDCMOStatus SetDCMOIntAttributeValue(TDes& aCategory, TDCMONode aId, TInt aValue);
       
    84 		 		 
       
    85 		 /**
       
    86 		 * Set the string type value
       
    87 		 * DCMOServer or test app should use this
       
    88 		 * @param aCategory
       
    89 		 * @param aId
       
    90 		 * @param aStrValue
       
    91 		 * @return TDCMOStatus
       
    92 		 */
       
    93 		 TDCMOStatus SetDCMOStrAttributeValue(TDes& aCategory, TDCMONode aId, TDes& aStrValue);
       
    94 		 
       
    95 		 /**
       
    96 		 * Get All type value
       
    97 		 * DCMOServer or test app should use this
       
    98 		 * @param aCategory
       
    99 		 * @param aId
       
   100 		 * @param aStrValue
       
   101 		 * @return TDCMOStatus
       
   102 		 */
       
   103 		 void SearchByGroupValue(TDes& aGroup, TDes& aAdapterList);
       
   104 			
       
   105 		
       
   106 	private:
       
   107 		
       
   108 };