aboutsummaryrefslogtreecommitdiff
path: root/src/media-player-list.vala
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-02-24 16:47:50 -0600
committerTed Gould <ted@gould.cx>2014-02-24 16:47:50 -0600
commit0b93aa745830a32185f4383ba3813fbbd307bdf2 (patch)
treeadfa2cd4b1348a454bf33998b315c1daa25c7ad8 /src/media-player-list.vala
parent19fd5a77a5a820f320d71ffa364b978a69345317 (diff)
downloadayatana-indicator-sound-0b93aa745830a32185f4383ba3813fbbd307bdf2.tar.gz
ayatana-indicator-sound-0b93aa745830a32185f4383ba3813fbbd307bdf2.tar.bz2
ayatana-indicator-sound-0b93aa745830a32185f4383ba3813fbbd307bdf2.zip
Hmm, we totally need this
Diffstat (limited to 'src/media-player-list.vala')
-rw-r--r--src/media-player-list.vala33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/media-player-list.vala b/src/media-player-list.vala
new file mode 100644
index 0000000..fadbf63
--- /dev/null
+++ b/src/media-player-list.vala
@@ -0,0 +1,33 @@
+/*
+ * Copyright © 2014 Canonical Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 3.
+ *
+ * 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. 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/>.
+ *
+ * Authors:
+ * Ted Gould <ted@canonical.com>
+ */
+
+public class MediaPlayerList {
+ public class Iterator {
+ public virtual MediaPlayer? next_value() {
+ return null;
+ }
+ }
+ public virtual Iterator iterator () { return new Iterator(); }
+
+ public virtual void sync (string[] ids) { return; }
+
+ public signal void player_added (MediaPlayer player);
+ public signal void player_removed (MediaPlayer player);
+}
+