os/security/cryptomgmtlibs/securityutils/inc/secsettingscommon.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/security/cryptomgmtlibs/securityutils/inc/secsettingscommon.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,82 @@
     1.4 +/*
     1.5 +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +* All rights reserved.
     1.7 +* This component and the accompanying materials are made available
     1.8 +* under the terms of the License "Eclipse Public License v1.0"
     1.9 +* which accompanies this distribution, and is available
    1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.11 +*
    1.12 +* Initial Contributors:
    1.13 +* Nokia Corporation - initial contribution.
    1.14 +*
    1.15 +* Contributors:
    1.16 +*
    1.17 +* Description: 
    1.18 +* Implementation data shared between SecSettings client and server implementations.
    1.19 +*
    1.20 +*/
    1.21 +
    1.22 +
    1.23 +/**
    1.24 + @file
    1.25 + @internalComponent
    1.26 + @released
    1.27 +*/
    1.28 +
    1.29 +
    1.30 +#ifndef SECSETTINGSCOMMON_H
    1.31 +#define SECSETTINGSCOMMON_H
    1.32 +
    1.33 +#include <e32ver.h>
    1.34 +#include <e32uid.h>
    1.35 +
    1.36 +
    1.37 +namespace SecuritySettingsServer
    1.38 +	{
    1.39 +	_LIT(KSecSettingsServerName, "!SecSettingsServer");		///< Identifies SecSettings Symbian OS server.
    1.40 +
    1.41 +	const TInt KSecSettingsVerMajor = 1;		///< SecSettings server version major component.
    1.42 +	const TInt KSecSettingsVerMinor = 0;		///< SecSettings server version minor component.
    1.43 +	const TInt KSecSettingsVerBuild = 0;		///< SecSettings server version build component.
    1.44 +
    1.45 +	inline TVersion Version();
    1.46 +
    1.47 +	/**
    1.48 +		Executable which hosts SecSettings server.  Required to launch the process.
    1.49 +
    1.50 +		@see KSecSettingsServerUid
    1.51 +	 */
    1.52 +	_LIT(KServerImageName, "secsettingsserver.exe");
    1.53 +
    1.54 +	/**
    1.55 +		Hosting executable's secure ID.  Required to launch the process.
    1.56 +
    1.57 +		@see KServerImageName
    1.58 +	 */
    1.59 +	const TUid KSecSettingsServerUid = {0x2002B170};
    1.60 +
    1.61 +	inline TUidType ServerImageFullUid();
    1.62 +
    1.63 +
    1.64 +	enum TSessionFunction
    1.65 +	/**
    1.66 +		Functions supported by a SecSettings session.
    1.67 +	 */
    1.68 +		{
    1.69 +			ESettingValue = 0
    1.70 +		};
    1.71 +
    1.72 +	/**
    1.73 +		Delay in microseconds before the server is shut down, after
    1.74 +		the last remaining session has been closed.
    1.75 +	 */
    1.76 +	const TInt KShutdownPeriodUs = 2 * 1000 * 1000;
    1.77 +
    1.78 +
    1.79 +
    1.80 +} // End of namespace SecuritySettingsServer
    1.81 +
    1.82 +#include "secsettingscommon.inl"
    1.83 +
    1.84 +#endif	// #ifndef SECSETTINGSCOMMON_H
    1.85 +