1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-12-22 10:24:26 +01:00

Improved directory structure

Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
This commit is contained in:
Ralf Ramsauer 2015-09-29 14:33:53 +02:00
parent 4366e117d1
commit 60ed23486b
21 changed files with 28 additions and 26 deletions

View File

@ -58,30 +58,30 @@ find_package (Threads)
find_package(Qt5Widgets)
set(LIBDOORLOCK_SRCS
src/clientmessage.cpp
src/clientmessage.h
src/daemon.cpp
src/daemon.h
src/door.cpp
src/door.h
src/doormessage.h
src/logger.cpp
src/logger.h
src/logic.cpp
src/logic.h
src/response.cpp
src/response.h
src/util.cpp
src/util.h)
lib/clientmessage.cpp
lib/clientmessage.h
lib/door.cpp
lib/door.h
lib/doormessage.h
lib/logger.cpp
lib/logger.h
lib/logic.cpp
lib/logic.h
lib/response.cpp
lib/response.h
lib/util.cpp
lib/util.h)
set(DOORLOCKD_SRCS
src/doorlockd.cpp)
daemon/daemon.cpp
daemon/daemon.h
daemon/doorlockd.cpp)
set(DOORLOCK_CLIENT_SRCS
src/qrwidget.cpp
src/qrwidget.h
src/doorlock-client.cpp
src/mainwindow.h)
client/qrwidget.cpp
client/qrwidget.h
client/doorlock-client.cpp
client/mainwindow.h)
add_library(doorlock STATIC ${LIBDOORLOCK_SRCS})
target_link_libraries(doorlock jsoncpp ldap ${Boost_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})

View File

@ -6,10 +6,11 @@
#include <boost/asio.hpp>
#include <boost/program_options.hpp>
#include "clientmessage.h"
#include "config.h"
#include "logger.h"
#include "response.h"
#include "../lib/clientmessage.h"
#include "../lib/logger.h"
#include "../lib/response.h"
#include "mainwindow.h"

View File

@ -10,10 +10,11 @@
#include <json/json.h>
#include "daemon.h"
#include "../lib/logic.h"
#include "../lib/util.h"
#include "config.h"
#include "logic.h"
#include "util.h"
#include "daemon.h"
namespace po = boost::program_options;
using boost::asio::ip::tcp;