summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon/CommandReceive.h
diff options
context:
space:
mode:
Diffstat (limited to 'AudioManagerDaemon/CommandReceive.h')
-rw-r--r--AudioManagerDaemon/CommandReceive.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/AudioManagerDaemon/CommandReceive.h b/AudioManagerDaemon/CommandReceive.h
new file mode 100644
index 0000000..18af2ca
--- /dev/null
+++ b/AudioManagerDaemon/CommandReceive.h
@@ -0,0 +1,30 @@
+/*
+ * CommandReceive.h
+ *
+ * Created on: Jul 26, 2011
+ * Author: christian
+ */
+
+#ifndef COMMANDRECEIVE_H_
+#define COMMANDRECEIVE_H_
+
+#include "commandInterface.h"
+#include "audioManagerIncludes.h"
+
+class CommandReceive : CommandReceiveInterface {
+public:
+ CommandReceive(AudioManagerCore* core);
+ virtual ~CommandReceive();
+ connection_t connect(source_t source, sink_t sink);
+ connection_t disconnect(source_t source, source_t sink);
+ std::list<ConnectionType> getListConnections();
+ std::list<SinkType> getListSinks();
+ std::list<SourceType> getListSources();
+ genInt_t interruptRequest(const std::string &SourceName, const std::string &SinkName);
+ interrupt_t interruptResume(interrupt_t interrupt);
+ volume_t setVolume(sink_t sink, volume_t volume);
+private:
+ AudioManagerCore* m_core;
+};
+
+#endif /* COMMANDRECEIVE_H_ */