Update contrib.
2 * Copyright (c) 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 * The functions defined in this file provide constant data which is
16 * used by both the client and server implementations.
28 #ifndef SECSETTINGSCOMMON_INL
29 #define SECSETTINGSCOMMON_INL
33 namespace SecuritySettingsServer
35 inline TVersion Version()
37 This function is defined because there is no literal constructor for TVersion.
39 @return Defines a version number which the client
40 can use to open the server. If the client
41 was built with a higher version number, then
42 it cannot open the server. This ensures that
43 a client only talks to a server whose version
44 is at least as high as its own.
47 TVersion v(KSecSettingsVerMajor, KSecSettingsVerMinor, KSecSettingsVerBuild);
51 inline TUidType ServerImageFullUid()
53 This function is defined because there is no literal constructor
54 for TUidType. It returns the server executable's UID, which is used
55 to ensure the client launches the correct server process, as opposed
56 to another application which uses the same executable name.
58 @return TUidType The server executable's full UID.
61 TUidType uidType(KExecutableImageUid, KNullUid, KSecSettingsServerUid);
64 } // namespace SecuritySettingsServer
66 #endif // #ifndef SECSETTINGSCOMMON_INL