diff options
Diffstat (limited to 'Swift/QtUI/MUCSearch/QtMUCSearchWindowFactory.h')
-rw-r--r-- | Swift/QtUI/MUCSearch/QtMUCSearchWindowFactory.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Swift/QtUI/MUCSearch/QtMUCSearchWindowFactory.h b/Swift/QtUI/MUCSearch/QtMUCSearchWindowFactory.h new file mode 100644 index 0000000..9bcb53f --- /dev/null +++ b/Swift/QtUI/MUCSearch/QtMUCSearchWindowFactory.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) 2010 Kevin Smith + * Licensed under the GNU General Public License v3. + * See Documentation/Licenses/GPLv3.txt for more information. + */ + +#pragma once + +#include "Swift/Controllers/UIInterfaces/MUCSearchWindowFactory.h" +#include "Swift/QtUI/MUCSearch/QtMUCSearchWindow.h" + +namespace Swift { + class UIEventStream; + class QtMUCSearchWindowFactory : public MUCSearchWindowFactory { + public: + virtual ~QtMUCSearchWindowFactory() {}; + + MUCSearchWindow* createMUCSearchWindow(UIEventStream* eventStream) { + return new QtMUCSearchWindow(eventStream); + }; + }; +} |