installationservices/refswinstallationplugin/inc/sifrefinstallerclientserver.h
changeset 24 84a16765cd86
equal deleted inserted replaced
6:aba6b8104af3 24:84a16765cd86
       
     1 /*
       
     2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     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".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 * This file defines constants for the Refrence Installer client/server layer.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 /**
       
    21  @file
       
    22  @internalComponent
       
    23  exampleCode
       
    24 */
       
    25 
       
    26 #ifndef SIFREFINSTALLERCLIENTSERVER_H
       
    27 #define SIFREFINSTALLERCLIENTSERVER_H
       
    28 
       
    29 #include <e32uid.h>
       
    30 
       
    31 namespace Usif
       
    32 	{
       
    33 	/**
       
    34 	The name of the Reference Installer Server.
       
    35 	*/
       
    36 	_LIT(KSifRefInstallerServerName,"!SifRefInstallerServer");
       
    37 
       
    38 	/**
       
    39 	The version of the Reference Installer Server.
       
    40 	*/
       
    41 	const TInt KSifRefServerVerMajor = 1;	///< SIF Reference Installer Server version major component.
       
    42 	const TInt KSifRefServerVerMinor = 0;	///< SIF Reference Installer Server version minor component.
       
    43 	const TInt KSifRefServerVerBuild = 0;	///< SIF Reference Installer Server version build number.
       
    44 
       
    45 	/**
       
    46 	Returns the version of the Reference Installer Server as a TVersion object.
       
    47 
       
    48 	This function is defined because there is no literal constructor for TVersion.
       
    49 	*/
       
    50 	TVersion Version()
       
    51 		{
       
    52 		TVersion v(KSifRefServerVerMajor, KSifRefServerVerMinor, KSifRefServerVerBuild);
       
    53 		return v;
       
    54 		}
       
    55 
       
    56 	} // End of namespace Usif
       
    57 
       
    58 #endif	// #ifndef SIFREFINSTALLERCLIENTSERVER_H