installationservices/swi/test/tuiscriptadaptors/sisregistryaccess_client.cpp
branchRCL_3
changeset 25 7333d7932ef7
parent 0 ba25891c3a9e
child 26 8b7f4e561641
equal deleted inserted replaced
24:5cc91383ab1e 25:7333d7932ef7
     1 /*
     1 /*
     2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of the License "Eclipse Public License v1.0"
     5 * under the terms of the License "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    97 	TInt index = aPackage.Index();
    97 	TInt index = aPackage.Index();
    98 	TPckg<TInt> time(aSpentTimeInMillisecond);
    98 	TPckg<TInt> time(aSpentTimeInMillisecond);
    99 	return SendReceive(EDeleteEntry, TIpcArgs(index, &packageUid, &time));
    99 	return SendReceive(EDeleteEntry, TIpcArgs(index, &packageUid, &time));
   100 	}
   100 	}
   101 
   101 
       
   102 TInt RSisRegistryAccessSession::AddAppRegInfoL(const TDesC& aAppRegFile, TInt& aSpentTimeInMillisecond)
       
   103     {
       
   104     TPckg<TInt> time(aSpentTimeInMillisecond);
       
   105     return SendReceive(EAddAppRegInfo, TIpcArgs(&aAppRegFile, &time));
       
   106     }
       
   107 
       
   108 TInt RSisRegistryAccessSession::RemoveAppRegInfoL(const TDesC& aAppRegFile, TInt& aSpentTimeInMillisecond)
       
   109     {
       
   110     TPckg<TInt> time(aSpentTimeInMillisecond);
       
   111     return SendReceive(ERemoveAppRegInfo, TIpcArgs(&aAppRegFile, &time));
       
   112     }