summaryrefslogtreecommitdiffstats
path: root/src/uscxml/plugins/ioprocessor/sample/SampleIOProcessor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/uscxml/plugins/ioprocessor/sample/SampleIOProcessor.cpp')
-rw-r--r--src/uscxml/plugins/ioprocessor/sample/SampleIOProcessor.cpp22
1 files changed, 20 insertions, 2 deletions
diff --git a/src/uscxml/plugins/ioprocessor/sample/SampleIOProcessor.cpp b/src/uscxml/plugins/ioprocessor/sample/SampleIOProcessor.cpp
index da36a17..bca2344 100644
--- a/src/uscxml/plugins/ioprocessor/sample/SampleIOProcessor.cpp
+++ b/src/uscxml/plugins/ioprocessor/sample/SampleIOProcessor.cpp
@@ -1,4 +1,22 @@
-#include <uscxml/Common.h>
+/**
+ * @file
+ * @author 2012-2013 Stefan Radomski (stefan.radomski@cs.tu-darmstadt.de)
+ * @copyright Simplified BSD
+ *
+ * @cond
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the FreeBSD license as published by the FreeBSD
+ * project.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * You should have received a copy of the FreeBSD license along with this
+ * program. If not, see <http://www.opensource.org/licenses/bsd-license>.
+ * @endcond
+ */
+
#include "uscxml/plugins/ioprocessor/sample/SampleIOProcessor.h"
#include "uscxml/Message.h"
#include <iostream>
@@ -13,7 +31,7 @@ namespace uscxml {
#ifdef BUILD_AS_PLUGINS
PLUMA_CONNECTOR
-bool connect(pluma::Host& host) {
+bool pluginConnect(pluma::Host& host) {
host.add( new SampleIOProcessorProvider() );
return true;
}