v2.0.0
Loading...
Searching...
No Matches
com_global.h
Go to the documentation of this file.
1//=============================================================================================================
37
38#ifndef COMMUNICATION_GLOBAL_H
39#define COMMUNICATION_GLOBAL_H
40
41//=============================================================================================================
42// INCLUDES
43//=============================================================================================================
44
45#include <QtCore/qglobal.h>
46#include <utils/buildinfo.h>
47
48//=============================================================================================================
49// DEFINES
50//=============================================================================================================
51
52#if defined(STATICBUILD)
53# define COMSHARED_EXPORT
54#elif defined(MNE_COM_LIBRARY)
55# define COMSHARED_EXPORT Q_DECL_EXPORT
56#else
57# define COMSHARED_EXPORT Q_DECL_IMPORT
58#endif
59
60//=============================================================================================================
77namespace COMLIB{
78
79//=============================================================================================================
88
89//=============================================================================================================
96COMSHARED_EXPORT const char* buildHash();
97
98//=============================================================================================================
105COMSHARED_EXPORT const char* buildHashLong();
106}
107
108#endif // COM_GLOBAL_H
#define COMSHARED_EXPORT
Definition com_global.h:53
Compile-time helpers that capture the build date, time and git commit hash into the binary.
Real-time client/server communication primitives for talking to mne_rt_server.
COMSHARED_EXPORT const char * buildHashLong()
Full-length git commit hash (40 hex chars) of the source tree this library was built from.
COMSHARED_EXPORT const char * buildHash()
Abbreviated git commit hash (typically 7 hex chars) of the source tree this library was built from.
COMSHARED_EXPORT const char * buildDateTime()
Compile-time date/time stamp baked into the COMLIB binary.