summaryrefslogtreecommitdiffstats
path: root/src/client/OSCEngineSender.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/OSCEngineSender.hpp')
-rw-r--r--src/client/OSCEngineSender.hpp16
1 files changed, 12 insertions, 4 deletions
diff --git a/src/client/OSCEngineSender.hpp b/src/client/OSCEngineSender.hpp
index e5a2fc9f..30e82c5f 100644
--- a/src/client/OSCEngineSender.hpp
+++ b/src/client/OSCEngineSender.hpp
@@ -18,13 +18,18 @@
#ifndef INGEN_CLIENT_OSCENGINESENDER_HPP
#define INGEN_CLIENT_OSCENGINESENDER_HPP
-#include <inttypes.h>
+#include <stdbool.h>
+#include <stddef.h>
+
#include <string>
+
#include <lo/lo.h>
+
#include "ingen/EngineInterface.hpp"
#include "shared/OSCSender.hpp"
namespace Ingen {
+
namespace Client {
/* OSC (via liblo) interface to the engine.
@@ -36,11 +41,14 @@ namespace Client {
*/
class OSCEngineSender : public EngineInterface, public Shared::OSCSender {
public:
- OSCEngineSender(const Raul::URI& engine_url);
+ OSCEngineSender(const Raul::URI& engine_url,
+ size_t max_packet_size);
+
~OSCEngineSender();
- static OSCEngineSender* create(const Raul::URI& engine_url) {
- return new OSCEngineSender(engine_url);
+ static OSCEngineSender* create(const Raul::URI& engine_url,
+ size_t max_packet_size) {
+ return new OSCEngineSender(engine_url, max_packet_size);
}
Raul::URI uri() const { return _engine_url; }