summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
Diffstat (limited to 'Swift')
-rw-r--r--Swift/Controllers/DummySoundPlayer.h16
-rw-r--r--Swift/Controllers/DummySystemTray.h17
2 files changed, 33 insertions, 0 deletions
diff --git a/Swift/Controllers/DummySoundPlayer.h b/Swift/Controllers/DummySoundPlayer.h
new file mode 100644
index 0000000..36dcb28
--- /dev/null
+++ b/Swift/Controllers/DummySoundPlayer.h
@@ -0,0 +1,16 @@
+/*
+ * Copyright (c) 2010 Remko Tronçon
+ * Licensed under the GNU General Public License v3.
+ * See Documentation/Licenses/GPLv3.txt for more information.
+ */
+
+#pragma once
+
+#include "Swift/Controllers/SoundPlayer.h"
+
+namespace Swift {
+ class DummySoundPlayer : public SoundPlayer {
+ public:
+ void playSound(SoundEffect sound) {};
+ };
+}
diff --git a/Swift/Controllers/DummySystemTray.h b/Swift/Controllers/DummySystemTray.h
new file mode 100644
index 0000000..1683b55
--- /dev/null
+++ b/Swift/Controllers/DummySystemTray.h
@@ -0,0 +1,17 @@
+/*
+ * Copyright (c) 2010 Remko Tronçon
+ * Licensed under the GNU General Public License v3.
+ * See Documentation/Licenses/GPLv3.txt for more information.
+ */
+
+#pragma once
+
+#include "Swift/Controllers/SystemTray.h"
+
+namespace Swift {
+ class DummySystemTray : public SystemTray {
+ public:
+ void setUnreadMessages(bool some) {};
+ void setStatusType(StatusShow::Type type) {};
+ };
+}