os/security/cryptomgmtlibs/securityutils/inc/secsettingscommon.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
sl@0
     1
/*
sl@0
     2
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
sl@0
     3
* All rights reserved.
sl@0
     4
* This component and the accompanying materials are made available
sl@0
     5
* under the terms of the License "Eclipse Public License v1.0"
sl@0
     6
* which accompanies this distribution, and is available
sl@0
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0
     8
*
sl@0
     9
* Initial Contributors:
sl@0
    10
* Nokia Corporation - initial contribution.
sl@0
    11
*
sl@0
    12
* Contributors:
sl@0
    13
*
sl@0
    14
* Description: 
sl@0
    15
* Implementation data shared between SecSettings client and server implementations.
sl@0
    16
*
sl@0
    17
*/
sl@0
    18
sl@0
    19
sl@0
    20
/**
sl@0
    21
 @file
sl@0
    22
 @internalComponent
sl@0
    23
 @released
sl@0
    24
*/
sl@0
    25
sl@0
    26
sl@0
    27
#ifndef SECSETTINGSCOMMON_H
sl@0
    28
#define SECSETTINGSCOMMON_H
sl@0
    29
sl@0
    30
#include <e32ver.h>
sl@0
    31
#include <e32uid.h>
sl@0
    32
sl@0
    33
sl@0
    34
namespace SecuritySettingsServer
sl@0
    35
	{
sl@0
    36
	_LIT(KSecSettingsServerName, "!SecSettingsServer");		///< Identifies SecSettings Symbian OS server.
sl@0
    37
sl@0
    38
	const TInt KSecSettingsVerMajor = 1;		///< SecSettings server version major component.
sl@0
    39
	const TInt KSecSettingsVerMinor = 0;		///< SecSettings server version minor component.
sl@0
    40
	const TInt KSecSettingsVerBuild = 0;		///< SecSettings server version build component.
sl@0
    41
sl@0
    42
	inline TVersion Version();
sl@0
    43
sl@0
    44
	/**
sl@0
    45
		Executable which hosts SecSettings server.  Required to launch the process.
sl@0
    46
sl@0
    47
		@see KSecSettingsServerUid
sl@0
    48
	 */
sl@0
    49
	_LIT(KServerImageName, "secsettingsserver.exe");
sl@0
    50
sl@0
    51
	/**
sl@0
    52
		Hosting executable's secure ID.  Required to launch the process.
sl@0
    53
sl@0
    54
		@see KServerImageName
sl@0
    55
	 */
sl@0
    56
	const TUid KSecSettingsServerUid = {0x2002B170};
sl@0
    57
sl@0
    58
	inline TUidType ServerImageFullUid();
sl@0
    59
sl@0
    60
sl@0
    61
	enum TSessionFunction
sl@0
    62
	/**
sl@0
    63
		Functions supported by a SecSettings session.
sl@0
    64
	 */
sl@0
    65
		{
sl@0
    66
			ESettingValue = 0
sl@0
    67
		};
sl@0
    68
sl@0
    69
	/**
sl@0
    70
		Delay in microseconds before the server is shut down, after
sl@0
    71
		the last remaining session has been closed.
sl@0
    72
	 */
sl@0
    73
	const TInt KShutdownPeriodUs = 2 * 1000 * 1000;
sl@0
    74
sl@0
    75
sl@0
    76
sl@0
    77
} // End of namespace SecuritySettingsServer
sl@0
    78
sl@0
    79
#include "secsettingscommon.inl"
sl@0
    80
sl@0
    81
#endif	// #ifndef SECSETTINGSCOMMON_H
sl@0
    82