renamed folders and files, preparing the code structure to be updated to the latest version of QtWebApp

This commit is contained in:
Luis Ángel San Martín 2016-06-16 19:46:58 +02:00
parent edbb642cee
commit e6d229680f
42 changed files with 85 additions and 3 deletions

View File

@ -0,0 +1,7 @@
#include "httpglobal.h"
const char* getQtWebAppLibVersion()
{
return "1.5.3";
}

View 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

View 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

View 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

View File

@ -41,8 +41,8 @@ SOURCES += \
$$PWD/controllers/foldercontentcontroller.cpp \ $$PWD/controllers/foldercontentcontroller.cpp \
$$PWD/controllers/tagscontroller.cpp $$PWD/controllers/tagscontroller.cpp
include(lib/bfLogging/bfLogging.pri) include(lib/logging/logging.pri)
include(lib/bfHttpServer/bfHttpServer.pri) include(lib/httpserver/httpserver.pri)
include(lib/bfTemplateEngine/bfTemplateEngine.pri) include(lib/templateengine/templateengine.pri)
DEFINES += SERVER_VERSION_NUMBER=\\\"2.0\\\" DEFINES += SERVER_VERSION_NUMBER=\\\"2.0\\\"