os/security/cryptomgmtlibs/securitycommonutils/test/source/scstestserver/startup.cpp
Update contrib.
2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
15 * Executable entrypoint and server object factory function.
16 * The latter is supplied to the SCS boilerplate code.
25 #include "scstestserver.h"
28 static CScsServer* NewScsTestServerLC()
30 This factory function is called by SCS. It allocates
31 the server object and leaves it on the cleanup stack.
33 @return New initialized instance of CScsTestServer.
34 On return this is on the cleanup stack.
37 return CScsTestServer::NewLC();
42 Executable entrypoint.
44 @return Symbian OS error code where KErrNone indicates
45 success and any other value indicates failure.
48 return StartScsServer(NewScsTestServerLC);