From 2cff9c80434511013d56e2ee1710128edcd9de48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be> Date: Mon, 1 Nov 2010 13:20:48 +0100 Subject: Added dummy sound player & system tray. 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) {}; + }; +} -- cgit v0.10.2-6-g49f6