summaryrefslogtreecommitdiffstats
path: root/src/libs/engine
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-08-17 03:20:42 +0000
committerDavid Robillard <d@drobilla.net>2008-08-17 03:20:42 +0000
commit3019b09099371b3fe568b7dcc3bb92203d800b1f (patch)
treeeed4a0cb4be627764beb262756085bd51d86add5 /src/libs/engine
parentd6823fa9b29bcff74ca180e6d389d8a21cf88d1f (diff)
downloadingen-3019b09099371b3fe568b7dcc3bb92203d800b1f.tar.gz
ingen-3019b09099371b3fe568b7dcc3bb92203d800b1f.tar.bz2
ingen-3019b09099371b3fe568b7dcc3bb92203d800b1f.zip
Rename 'Loader' 'Parser'.
git-svn-id: http://svn.drobilla.net/lad/ingen@1411 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine')
-rw-r--r--src/libs/engine/HTTPEngineReceiver.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/libs/engine/HTTPEngineReceiver.cpp b/src/libs/engine/HTTPEngineReceiver.cpp
index 7427f18d..4d57843b 100644
--- a/src/libs/engine/HTTPEngineReceiver.cpp
+++ b/src/libs/engine/HTTPEngineReceiver.cpp
@@ -26,7 +26,7 @@
#include "module/Module.hpp"
#include "serialisation/serialisation.hpp"
#include "serialisation/Serialiser.hpp"
-#include "serialisation/Loader.hpp"
+#include "serialisation/Parser.hpp"
#include "engine/ThreadManager.hpp"
#include "HTTPEngineReceiver.hpp"
#include "QueuedEventSource.hpp"
@@ -58,9 +58,9 @@ HTTPEngineReceiver::HTTPEngineReceiver(Engine& engine, uint16_t port)
engine.world()->serialiser = SharedPtr<Serialiser>(
Ingen::Serialisation::new_serialiser(engine.world(), engine.engine_store()));
- if (!engine.world()->loader)
- engine.world()->loader = SharedPtr<Loader>(
- Ingen::Serialisation::new_loader());
+ if (!engine.world()->parser)
+ engine.world()->parser = SharedPtr<Parser>(
+ Ingen::Serialisation::new_parser());
} else {
cerr << "WARNING: Failed to load ingen_serialisation module, HTTP disabled." << endl;
}
@@ -165,9 +165,9 @@ HTTPEngineReceiver::message_callback(SoupServer* server, SoupMessage* msg, const
return;
}
- // Get loader
- SharedPtr<Loader> loader = me->_engine.world()->loader;
- if (!loader) {
+ // Get parser
+ SharedPtr<Parser> parser = me->_engine.world()->parser;
+ if (!parser) {
soup_message_set_status (msg, SOUP_STATUS_INTERNAL_SERVER_ERROR);
return;
}