version.h 2.44 KB
Newer Older
1
// $Id$
2
3
4

/*************************************************************************
 * XDAQ Components for Distributed Data Acquisition                      *
5
 * Copyright (C) 2000-2016, CERN.                                        *
6
 * All rights reserved.                                                  *
7
 * Authors: J. Gutleber and L. Orsini                                    *
8
 *                                                                       *
9
10
 * For the licensing terms see LICENSE.                                  *
 * For the list of contributors see CREDITS.                             *
11
12
13
14
15
16
17
18
19
 *************************************************************************/

#ifndef _sentinel_spotlightocci_version_h_
#define _sentinel_spotlightocci_version_h_

#include "config/PackageInfo.h"

// !!! Edit this line to reflect the latest package version !!!

20
#define SENTINELSPOTLIGHTOCCI_VERSION_MAJOR 3
21
22
#define SENTINELSPOTLIGHTOCCI_VERSION_MINOR 4
#define SENTINELSPOTLIGHTOCCI_VERSION_PATCH 0
apetro's avatar
apetro committed
23
// If any previous versions available E.g. #define SENTINELSPOTLIGHTOCCI_PREVIOUS_VERSIONS "3.8.0,3.8.1"
24
#define SENTINELSPOTLIGHTOCCI_PREVIOUS_VERSIONS "3.0.3,3.0.4,3.0.5,3.1.0,3.1.1,3.2.0,3.3.0,3.3.1,3.3.2"
25
26
27
28
29


//
// Template macros
//
apetro's avatar
apetro committed
30
31
32
#define SENTINELSPOTLIGHTOCCI_VERSION_CODE PACKAGE_VERSION_CODE(SENTINELSPOTLIGHTOCCI_VERSION_MAJOR,SENTINELSPOTLIGHTOCCI_VERSION_MINOR,SENTINELSPOTLIGHTOCCI_VERSION_PATCH)
#ifndef SENTINELSPOTLIGHTOCCI_PREVIOUS_VERSIONS
#define SENTINELSPOTLIGHTOCCI_FULL_VERSION_LIST  PACKAGE_VERSION_STRING(SENTINELSPOTLIGHTOCCI_VERSION_MAJOR,SENTINELSPOTLIGHTOCCI_VERSION_MINOR,SENTINELSPOTLIGHTOCCI_VERSION_PATCH)
33
#else 
apetro's avatar
apetro committed
34
#define SENTINELSPOTLIGHTOCCI_FULL_VERSION_LIST  SENTINELSPOTLIGHTOCCI_PREVIOUS_VERSIONS "," PACKAGE_VERSION_STRING(SENTINELSPOTLIGHTOCCI_VERSION_MAJOR,SENTINELSPOTLIGHTOCCI_VERSION_MINOR,SENTINELSPOTLIGHTOCCI_VERSION_PATCH)
35
36
37
38
39
#endif 

namespace sentinelspotlightocci
{
	const std::string package  =  "sentinelspotlightocci";
apetro's avatar
apetro committed
40
	const std::string versions =  SENTINELSPOTLIGHTOCCI_FULL_VERSION_LIST;
41
42
43
44
45
46
47
48
49
50
	const std::string summary = "Server for exceptions and alarms";
	const std::string description = "";
	const std::string authors = "Johannes Gutleber, Luciano Orsini";
	const std::string link = "http://xdaqwiki.cern.ch/index.php/Power_Pack";
	config::PackageInfo getPackageInfo();
	void checkPackageDependencies() throw (config::PackageInfo::VersionException);
	std::set<std::string, std::less<std::string> > getPackageDependencies();
}

#endif