diff options
Diffstat (limited to 'Swiften/ScreenSharing/UnitTest/DummyScreenSharingManager.h')
-rw-r--r-- | Swiften/ScreenSharing/UnitTest/DummyScreenSharingManager.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Swiften/ScreenSharing/UnitTest/DummyScreenSharingManager.h b/Swiften/ScreenSharing/UnitTest/DummyScreenSharingManager.h new file mode 100644 index 0000000..f8c963c --- /dev/null +++ b/Swiften/ScreenSharing/UnitTest/DummyScreenSharingManager.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) 2012 Yoann Blein + * Licensed under the simplified BSD license. + * See Documentation/Licenses/BSD-simplified.txt for more information. + */ + +#pragma once + +#include <Swiften/ScreenSharing/ScreenSharingManager.h> + +namespace Swift { + class DummyScreenSharingManager : public ScreenSharingManager { + public: + DummyScreenSharingManager() : ScreenSharingManager() {} + + virtual boost::shared_ptr<OutgoingScreenSharing> createOutgoingScreenSharing(const JID& to) { + return boost::shared_ptr<OutgoingScreenSharing>(); + } + + virtual void handleInputEvent(const JID& from, boost::shared_ptr<InputEventPayload> payload) {} + }; +} |