diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-06-18 22:03:02 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-06-18 22:03:02 +0200 |
commit | 7234fe326d16d6bf9f4374a09ddc6ef790e6723f (patch) | |
tree | 437d4c40eeb1e9b34b369e4b82064a1572c7dac9 /src/Server/Requests | |
parent | bf561f8226e97f4ace4f04bddf198175e91ee7f0 (diff) | |
download | mad-7234fe326d16d6bf9f4374a09ddc6ef790e6723f.tar mad-7234fe326d16d6bf9f4374a09ddc6ef790e6723f.zip |
Globale Variablen durch Application-Klasse ersetzt
Diffstat (limited to 'src/Server/Requests')
-rw-r--r-- | src/Server/Requests/CommandRequest.h | 2 | ||||
-rw-r--r-- | src/Server/Requests/DaemonStateUpdateRequest.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Server/Requests/CommandRequest.h b/src/Server/Requests/CommandRequest.h index 8221b14..3b2dcdd 100644 --- a/src/Server/Requests/CommandRequest.h +++ b/src/Server/Requests/CommandRequest.h @@ -34,7 +34,7 @@ class CommandRequest : public Common::Request { virtual void sendRequest(); public: - CommandRequest(bool reboot0) : reboot(reboot0) {} + CommandRequest(Common::Application *application, bool reboot0) : Common::Request(application), reboot(reboot0) {} }; } diff --git a/src/Server/Requests/DaemonStateUpdateRequest.h b/src/Server/Requests/DaemonStateUpdateRequest.h index c3ed792..762514a 100644 --- a/src/Server/Requests/DaemonStateUpdateRequest.h +++ b/src/Server/Requests/DaemonStateUpdateRequest.h @@ -36,8 +36,8 @@ class DaemonStateUpdateRequest : public Common::Request { virtual void sendRequest(); public: - DaemonStateUpdateRequest(const std::string &name0, Common::HostInfo::State state0) - : name(name0), state(state0) {} + DaemonStateUpdateRequest(Common::Application *application, const std::string &name0, Common::HostInfo::State state0) + : Common::Request(application), name(name0), state(state0) {} }; } |