installationservices/swi/test/tuiscriptadaptors/sisregistryaccess_client.h
changeset 0 ba25891c3a9e
child 25 7333d7932ef7
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     1 /*
       
     2 * Copyright (c) 2008-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 the License "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: 
       
    15 * SisRegistryAccess - client interface
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 /**
       
    21  @file 
       
    22  @test
       
    23  @internalComponent
       
    24 */
       
    25 
       
    26 #ifndef __SISREGISTRYACCESSCLIENT_H__
       
    27 #define __SISREGISTRYACCESSCLIENT_H__
       
    28 
       
    29 #include <e32std.h>
       
    30 #include "sisregistrypackage.h"
       
    31 
       
    32 class CApplication;
       
    33 
       
    34 class RSisRegistryAccessSession : public RSessionBase
       
    35 	{
       
    36 public: 
       
    37 	TInt Connect();
       
    38 
       
    39 	/**
       
    40 	 	Adds a registry entry representing this controller data
       
    41 	 
       
    42 	   @param aControllerData The controller data.
       
    43 	 */
       
    44 	void AddEntryL(const TDesC8& aControllerData, TInt& aSpentTimeInMillisecond);
       
    45 	
       
    46 	/**
       
    47 		Updates the registry entry representing this controller data
       
    48 		 
       
    49 		@param aControllerData The controller data.
       
    50 	 */
       
    51 	void UpdateEntryL(const TDesC8& aControllerData, TInt& aSpentTimeInMillisecond);
       
    52 	
       
    53 	/**
       
    54 	 * Removes the specified package from SCR (using SisRegistryServer)
       
    55 	 */
       
    56 	TInt DeleteEntryL(Swi::CSisRegistryPackage& aPackage, TInt& aSpentTimeInMillisecond);
       
    57 
       
    58 	};
       
    59 
       
    60 #endif	// __SISREGISTRYACCESSCLIENT_H__