summaryrefslogtreecommitdiffstats
path: root/src/mad.cpp
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-03-21 13:31:03 +0100
committerMatthias Schiffer <matthias@gamezock.de>2009-03-21 13:31:03 +0100
commitc07b837dbad1ac176a6c18062dab9184e7080309 (patch)
tree277d5f7c06e2e71b25a9b9619917f04158b789e8 /src/mad.cpp
parent8f098fc3070f791302ec1f497588fab6ed409980 (diff)
downloadmad-c07b837dbad1ac176a6c18062dab9184e7080309.tar
mad-c07b837dbad1ac176a6c18062dab9184e7080309.zip
Net::Connection-Klasse zur besseren Strukturierung gekapselt
Diffstat (limited to 'src/mad.cpp')
-rw-r--r--src/mad.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mad.cpp b/src/mad.cpp
index eba4125..f0dcdf2 100644
--- a/src/mad.cpp
+++ b/src/mad.cpp
@@ -17,7 +17,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "Net/ClientConnection.h"
+#include "Net/Connection.h"
#include "Net/FdManager.h"
#include "Net/IPAddress.h"
#include "Common/ConfigManager.h"
@@ -25,6 +25,7 @@
#include "Common/Logger.h"
#include "Common/ModuleManager.h"
#include "Common/RequestManager.h"
+#include "Common/ClientConnection.h"
#include "Common/RequestHandlers/FSInfoRequestHandler.h"
#include "Common/RequestHandlers/StatusRequestHandler.h"
#include "Daemon/Backends/NetworkLogger.h"
@@ -53,7 +54,7 @@ int main() {
Common::RequestManager::get()->registerPacketType<Common::RequestHandlers::FSInfoRequestHandler>("FSInfo");
Common::RequestManager::get()->registerPacketType<Common::RequestHandlers::StatusRequestHandler>("GetStatus");
- Net::ClientConnection *connection = new Net::ClientConnection;
+ Common::ClientConnection *connection = new Common::ClientConnection;
try {
connection->connect(Net::IPAddress("127.0.0.1"), true);