installationservices/swi/source/sisregistry/client/sisregistrywritablesession.cpp
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2004-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". |
393 TPckgC<TComponentId> packageComponentId(aComponentId); |
393 TPckgC<TComponentId> packageComponentId(aComponentId); |
394 TPckgC<TScomoState> packageState(aState); |
394 TPckgC<TScomoState> packageState(aState); |
395 TInt returnCode = SendReceive(ESetComponentState, TIpcArgs(&packageComponentId, &packageState)); |
395 TInt returnCode = SendReceive(ESetComponentState, TIpcArgs(&packageComponentId, &packageState)); |
396 User::LeaveIfError(returnCode); |
396 User::LeaveIfError(returnCode); |
397 } |
397 } |
398 #endif |
398 |
|
399 EXPORT_C void RSisRegistryWritableSession::SetComponentPresenceL(TComponentId aComponentId, TBool aState) |
|
400 { |
|
401 TPckgC<TComponentId> componentId(aComponentId); |
|
402 TPckgC<TBool> componentPresence(aState); |
|
403 User::LeaveIfError(SendReceive(ESetComponentPresence, TIpcArgs(&componentId, &componentPresence))); |
|
404 } |
|
405 #endif |