blob: 9d2389b5ff065acea7273e1879a5ed4a067fe4ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#pragma once
#include "Swift/Controllers/MainWindow.h"
#include "Swiften/Roster/TreeWidget.h"
namespace Swift {
class MockMainWindow : public MainWindow {
public:
MockMainWindow(TreeWidget* treeWidget) {treeWidget_ = treeWidget;};
virtual ~MockMainWindow() {};
virtual TreeWidget* getTreeWidget() {return treeWidget_;};
virtual void setMyName(const String& /*name*/) {};;
virtual void setMyAvatarPath(const String& /*path*/) {};
virtual void setMyStatusText(const String& /*status*/) {};
virtual void setMyStatusType(StatusShow::Type /*type*/) {};
private:
TreeWidget* treeWidget_;
};
}
|