mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 08:38:45 +00:00
.. see http://stefanfrings.de/qtwebapp/index-en.html .. this is a lightweight web server to allow GC to provide webservices. .. we will be providing web services on localhost to enable R integration. .. we will use web services to standardise the interface to provide something we can use in R but also anything else at a later date. .. gcconfig.pri contains $$HTPATH that points to the location of the code, if it is not set then the web server is not compiled in.
28 lines
521 B
C
28 lines
521 B
C
/**
|
|
@file
|
|
@author Stefan Frings
|
|
*/
|
|
|
|
#ifndef HTTPGLOBAL_H
|
|
#define HTTPGLOBAL_H
|
|
|
|
#include <QtGlobal>
|
|
|
|
// This is specific to Windows dll's
|
|
#if defined(Q_OS_WIN)
|
|
#if defined(QTWEBAPPLIB_EXPORT)
|
|
#define DECLSPEC Q_DECL_EXPORT
|
|
#elif defined(QTWEBAPPLIB_IMPORT)
|
|
#define DECLSPEC Q_DECL_IMPORT
|
|
#endif
|
|
#endif
|
|
#if !defined(DECLSPEC)
|
|
#define DECLSPEC
|
|
#endif
|
|
|
|
/** Get the library version number */
|
|
DECLSPEC const char* getQtWebAppLibVersion();
|
|
|
|
#endif // HTTPGLOBAL_H
|
|
|