equal
deleted
inserted
replaced
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
35 TInt err = RDmDomainManager::AddDomainHierarchy(KDmHierarchyIdStartup); |
35 TInt err = RDmDomainManager::AddDomainHierarchy(KDmHierarchyIdStartup); |
36 if(KErrNone != err && KErrAlreadyExists != err) |
36 if(KErrNone != err && KErrAlreadyExists != err) |
37 { |
37 { |
38 PanicNow(KPanicSysStateMgr, EAddDomainHierarchyError); |
38 PanicNow(KPanicSysStateMgr, EAddDomainHierarchyError); |
39 } |
39 } |
40 |
40 RLibrary lib; |
|
41 lib.Load(_L("libc")); |
|
42 CleanupClosePushL(lib); |
41 CSsmServer* server = CSsmServer::NewLC(ESsmStartup); |
43 CSsmServer* server = CSsmServer::NewLC(ESsmStartup); |
42 sched->Start(); |
44 sched->Start(); |
43 |
45 CleanupStack::PopAndDestroy(&lib); |
44 CleanupStack::PopAndDestroy(server); |
46 CleanupStack::PopAndDestroy(server); |
45 CleanupStack::PopAndDestroy(sched); |
47 CleanupStack::PopAndDestroy(sched); |
46 } |
48 } |
47 |
49 |
48 /** |
50 /** |