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

/*************************************************************************
 * XDAQ Components for Distributed Data Acquisition                      *
5
 * Copyright (C) 2000-2020, CERN.                                        *
6
 * All rights reserved.                                                  *
7
 * Authors: J. Gutleber, L. Orsini and D. Simelevicius                   *
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 WORKSUITE_SENTINELSPOTLIGHTOCCI_VERSION_MAJOR 4
21
#define WORKSUITE_SENTINELSPOTLIGHTOCCI_VERSION_MINOR 4
22
#define WORKSUITE_SENTINELSPOTLIGHTOCCI_VERSION_PATCH 0
23
// If any previous versions available E.g. #define WORKSUITE_SENTINELSPOTLIGHTOCCI_PREVIOUS_VERSIONS "3.8.0,3.8.1"
24
#define WORKSUITE_SENTINELSPOTLIGHTOCCI_PREVIOUS_VERSIONS "4.1.0,4.1.1,4.2.0,4.3.0"
25
26
27
28
29


//
// Template macros
//
30
31
32
#define WORKSUITE_SENTINELSPOTLIGHTOCCI_VERSION_CODE PACKAGE_VERSION_CODE(WORKSUITE_SENTINELSPOTLIGHTOCCI_VERSION_MAJOR,WORKSUITE_SENTINELSPOTLIGHTOCCI_VERSION_MINOR,WORKSUITE_SENTINELSPOTLIGHTOCCI_VERSION_PATCH)
#ifndef WORKSUITE_SENTINELSPOTLIGHTOCCI_PREVIOUS_VERSIONS
#define WORKSUITE_SENTINELSPOTLIGHTOCCI_FULL_VERSION_LIST  PACKAGE_VERSION_STRING(WORKSUITE_SENTINELSPOTLIGHTOCCI_VERSION_MAJOR,WORKSUITE_SENTINELSPOTLIGHTOCCI_VERSION_MINOR,WORKSUITE_SENTINELSPOTLIGHTOCCI_VERSION_PATCH)
33
#else 
34
#define WORKSUITE_SENTINELSPOTLIGHTOCCI_FULL_VERSION_LIST  WORKSUITE_SENTINELSPOTLIGHTOCCI_PREVIOUS_VERSIONS "," PACKAGE_VERSION_STRING(WORKSUITE_SENTINELSPOTLIGHTOCCI_VERSION_MAJOR,WORKSUITE_SENTINELSPOTLIGHTOCCI_VERSION_MINOR,WORKSUITE_SENTINELSPOTLIGHTOCCI_VERSION_PATCH)
35
36
37
38
#endif 

namespace sentinelspotlightocci
{
39
	const std::string project = "worksuite";
40
	const std::string package  =  "sentinelspotlightocci";
41
	const std::string versions = WORKSUITE_SENTINELSPOTLIGHTOCCI_FULL_VERSION_LIST;
42
43
	const std::string summary = "Server for exceptions and alarms";
	const std::string description = "";
44
	const std::string authors = "Johannes Gutleber, Luciano Orsini, Dainius Simelevicius";
45
46
	const std::string link = "http://xdaqwiki.cern.ch/index.php/Power_Pack";
	config::PackageInfo getPackageInfo();
47
	void checkPackageDependencies() ;
48
49
50
51
	std::set<std::string, std::less<std::string> > getPackageDependencies();
}

#endif