mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
renamed folders and files, preparing the code structure to be updated to the latest version of QtWebApp
This commit is contained in:
parent
edbb642cee
commit
e6d229680f
7
YACReaderLibrary/server/lib/httpserver/httpglobal.cpp
Normal file
7
YACReaderLibrary/server/lib/httpserver/httpglobal.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
#include "httpglobal.h"
|
||||
|
||||
const char* getQtWebAppLibVersion()
|
||||
{
|
||||
return "1.5.3";
|
||||
}
|
||||
|
27
YACReaderLibrary/server/lib/httpserver/httpglobal.h
Normal file
27
YACReaderLibrary/server/lib/httpserver/httpglobal.h
Normal file
@ -0,0 +1,27 @@
|
||||
/**
|
||||
@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
|
||||
|
24
YACReaderLibrary/server/lib/logging/logglobal.h
Normal file
24
YACReaderLibrary/server/lib/logging/logglobal.h
Normal file
@ -0,0 +1,24 @@
|
||||
/**
|
||||
@file
|
||||
@author Stefan Frings
|
||||
*/
|
||||
|
||||
#ifndef LOGGLOBAL_H
|
||||
#define LOGGLOBAL_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
|
||||
|
||||
#endif // LOGGLOBAL_H
|
||||
|
24
YACReaderLibrary/server/lib/templateengine/templateglobal.h
Normal file
24
YACReaderLibrary/server/lib/templateengine/templateglobal.h
Normal file
@ -0,0 +1,24 @@
|
||||
/**
|
||||
@file
|
||||
@author Stefan Frings
|
||||
*/
|
||||
|
||||
#ifndef TEMPLATEGLOBAL_H
|
||||
#define TEMPLATEGLOBAL_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
|
||||
|
||||
#endif // TEMPLATEGLOBAL_H
|
||||
|
@ -41,8 +41,8 @@ SOURCES += \
|
||||
$$PWD/controllers/foldercontentcontroller.cpp \
|
||||
$$PWD/controllers/tagscontroller.cpp
|
||||
|
||||
include(lib/bfLogging/bfLogging.pri)
|
||||
include(lib/bfHttpServer/bfHttpServer.pri)
|
||||
include(lib/bfTemplateEngine/bfTemplateEngine.pri)
|
||||
include(lib/logging/logging.pri)
|
||||
include(lib/httpserver/httpserver.pri)
|
||||
include(lib/templateengine/templateengine.pri)
|
||||
|
||||
DEFINES += SERVER_VERSION_NUMBER=\\\"2.0\\\"
|
||||
|
Loading…
x
Reference in New Issue
Block a user