sl@0: /* sl@0: * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: * All rights reserved. sl@0: * This component and the accompanying materials are made available sl@0: * under the terms of the License "Eclipse Public License v1.0" sl@0: * which accompanies this distribution, and is available sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: * sl@0: * Initial Contributors: sl@0: * Nokia Corporation - initial contribution. sl@0: * sl@0: * Contributors: sl@0: * sl@0: * Description: sl@0: * Implementation data shared between SecSettings client and server implementations. sl@0: * sl@0: */ sl@0: sl@0: sl@0: /** sl@0: @file sl@0: @internalComponent sl@0: @released sl@0: */ sl@0: sl@0: sl@0: #ifndef SECSETTINGSCOMMON_H sl@0: #define SECSETTINGSCOMMON_H sl@0: sl@0: #include sl@0: #include sl@0: sl@0: sl@0: namespace SecuritySettingsServer sl@0: { sl@0: _LIT(KSecSettingsServerName, "!SecSettingsServer"); ///< Identifies SecSettings Symbian OS server. sl@0: sl@0: const TInt KSecSettingsVerMajor = 1; ///< SecSettings server version major component. sl@0: const TInt KSecSettingsVerMinor = 0; ///< SecSettings server version minor component. sl@0: const TInt KSecSettingsVerBuild = 0; ///< SecSettings server version build component. sl@0: sl@0: inline TVersion Version(); sl@0: sl@0: /** sl@0: Executable which hosts SecSettings server. Required to launch the process. sl@0: sl@0: @see KSecSettingsServerUid sl@0: */ sl@0: _LIT(KServerImageName, "secsettingsserver.exe"); sl@0: sl@0: /** sl@0: Hosting executable's secure ID. Required to launch the process. sl@0: sl@0: @see KServerImageName sl@0: */ sl@0: const TUid KSecSettingsServerUid = {0x2002B170}; sl@0: sl@0: inline TUidType ServerImageFullUid(); sl@0: sl@0: sl@0: enum TSessionFunction sl@0: /** sl@0: Functions supported by a SecSettings session. sl@0: */ sl@0: { sl@0: ESettingValue = 0 sl@0: }; sl@0: sl@0: /** sl@0: Delay in microseconds before the server is shut down, after sl@0: the last remaining session has been closed. sl@0: */ sl@0: const TInt KShutdownPeriodUs = 2 * 1000 * 1000; sl@0: sl@0: sl@0: sl@0: } // End of namespace SecuritySettingsServer sl@0: sl@0: #include "secsettingscommon.inl" sl@0: sl@0: #endif // #ifndef SECSETTINGSCOMMON_H sl@0: