summaryrefslogtreecommitdiffstats
path: root/src/Server/Requests
diff options
context:
space:
mode:
Diffstat (limited to 'src/Server/Requests')
-rw-r--r--src/Server/Requests/CMakeLists.txt6
-rw-r--r--src/Server/Requests/CommandRequest.h4
-rw-r--r--src/Server/Requests/DaemonStateUpdateRequest.h4
3 files changed, 6 insertions, 8 deletions
diff --git a/src/Server/Requests/CMakeLists.txt b/src/Server/Requests/CMakeLists.txt
deleted file mode 100644
index 6c5c8c5..0000000
--- a/src/Server/Requests/CMakeLists.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-include_directories(${INCLUDES})
-
-add_library(ServerRequests STATIC
- CommandRequest.cpp CommandRequest.h
- DaemonStateUpdateRequest.cpp DaemonStateUpdateRequest.h
-)
diff --git a/src/Server/Requests/CommandRequest.h b/src/Server/Requests/CommandRequest.h
index 95748fd..40f23fa 100644
--- a/src/Server/Requests/CommandRequest.h
+++ b/src/Server/Requests/CommandRequest.h
@@ -20,13 +20,15 @@
#ifndef MAD_SERVER_REQUESTS_COMMANDREQUEST_H_
#define MAD_SERVER_REQUESTS_COMMANDREQUEST_H_
+#include "../export.h"
+
#include <Common/Request.h>
namespace Mad {
namespace Server {
namespace Requests {
-class CommandRequest : public Common::Request {
+class MAD_SERVER_EXPORT CommandRequest : public Common::Request {
private:
bool reboot;
diff --git a/src/Server/Requests/DaemonStateUpdateRequest.h b/src/Server/Requests/DaemonStateUpdateRequest.h
index fc80920..862e8ac 100644
--- a/src/Server/Requests/DaemonStateUpdateRequest.h
+++ b/src/Server/Requests/DaemonStateUpdateRequest.h
@@ -20,6 +20,8 @@
#ifndef MAD_SERVER_REQUESTS_DAEMONSTATEUPDATEREQUEST_H_
#define MAD_SERVER_REQUESTS_DAEMONSTATEUPDATEREQUEST_H_
+#include "../export.h"
+
#include <Common/Request.h>
#include <Common/HostInfo.h>
@@ -27,7 +29,7 @@ namespace Mad {
namespace Server {
namespace Requests {
-class DaemonStateUpdateRequest : public Common::Request {
+class MAD_SERVER_EXPORT DaemonStateUpdateRequest : public Common::Request {
private:
std::string name;
Common::HostInfo::State state;