aboutsummaryrefslogtreecommitdiff
path: root/tests/mockpulse.h
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2010-03-31 18:20:09 +0200
committerSebastien Bacher <seb128@ubuntu.com>2010-03-31 18:20:09 +0200
commita07a63581edb898b009f238bbb9481c82ffad7a2 (patch)
tree9fb22aa7c7bf9deaf3a33f938cf20b9b2f16c6c6 /tests/mockpulse.h
parent4c165632f829c2498c1934dca3cb2d927df0c47f (diff)
parentaf4e502ea8bb14cf13561feb8f8687cd144b5399 (diff)
downloadayatana-indicator-sound-a07a63581edb898b009f238bbb9481c82ffad7a2.tar.gz
ayatana-indicator-sound-a07a63581edb898b009f238bbb9481c82ffad7a2.tar.bz2
ayatana-indicator-sound-a07a63581edb898b009f238bbb9481c82ffad7a2.zip
releasing version 0.2.2-0ubuntu1
Diffstat (limited to 'tests/mockpulse.h')
-rw-r--r--tests/mockpulse.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/mockpulse.h b/tests/mockpulse.h
new file mode 100644
index 0000000..71cd85b
--- /dev/null
+++ b/tests/mockpulse.h
@@ -0,0 +1,26 @@
+/*
+Copyright 2010 Canonical Ltd.
+
+Authors:
+ Robert Collins <robert.collins@canonical.com>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License version 3, as published
+by the Free Software Foundation.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranties of
+MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
+PURPOSE. See the GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+/**
+ * Control interface for the mocked pa-glib-mainloop test library
+ */
+#include <pulse/glib-mainloop.h>
+
+void set_pa_context_get_state_result(pa_context *, pa_context_state_t state);
+void set_pa_context_get_sink_info(pa_sink_info *info);