summaryrefslogtreecommitdiff
path: root/orkbasecxx/AudioCapturePlugin.h
diff options
context:
space:
mode:
authorHenri Herscher <henri@oreka.org>2006-06-21 20:41:18 +0000
committerHenri Herscher <henri@oreka.org>2006-06-21 20:41:18 +0000
commit2bc958b8009edb565e2ebdfef889bc74acfaf439 (patch)
tree5abc823877588142c286912936de8d8db00d8d1d /orkbasecxx/AudioCapturePlugin.h
parent407ac6ac01b473cfc319909eee5e3d827fffd49d (diff)
Moving AudioCapturePlugin.h to orkbasecxx
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@273 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkbasecxx/AudioCapturePlugin.h')
-rw-r--r--orkbasecxx/AudioCapturePlugin.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/orkbasecxx/AudioCapturePlugin.h b/orkbasecxx/AudioCapturePlugin.h
new file mode 100644
index 0000000..e52fe97
--- /dev/null
+++ b/orkbasecxx/AudioCapturePlugin.h
@@ -0,0 +1,48 @@
+/*
+ * Oreka -- A media capture and retrieval platform
+ *
+ * Copyright (C) 2005, orecx LLC
+ *
+ * http://www.orecx.com
+ *
+ * This program is free software, distributed under the terms of
+ * the GNU General Public License.
+ * Please refer to http://www.gnu.org/copyleft/gpl.html
+ *
+ */
+
+#ifndef __AUDIOCAPTUREPLUGIN_H__
+#define __AUDIOCAPTUREPLUGIN_H__
+
+#include "AudioCapture.h"
+#include "LogManager.h"
+#include "xercesc/dom/DOMNode.hpp"
+
+using namespace XERCES_CPP_NAMESPACE;
+
+#ifdef WIN32
+#define __CDECL__ __cdecl
+#else
+#define __CDECL__
+#endif
+
+#define AUDIO_CAPTURE_PLUGIN_INTERFACE_VERSION 1
+
+// Callback definitions
+typedef void (__CDECL__*AudioChunkCallBackFunction)(AudioChunkRef, CStdString& capturePort);
+typedef void (__CDECL__*CaptureEventCallBackFunction)(CaptureEventRef, CStdString& capturePort);
+
+
+// Exported functions definitions
+typedef void (__CDECL__* RegisterCallBacksFunction)(AudioChunkCallBackFunction, CaptureEventCallBackFunction, OrkLogManager*);
+typedef void (__CDECL__* InitializeFunction)();
+typedef void (__CDECL__* RunFunction)();
+typedef void (__CDECL__* ShutdownFunction)();
+typedef void (__CDECL__* ConfigureFunction)(DOMNode*);
+typedef void (__CDECL__* StartCaptureFunction)(CStdString& port);
+typedef void (__CDECL__* StopCaptureFunction)(CStdString& port);
+
+
+
+#endif
+