1 #pragma once
2 
3 #include <QObject>
4 #include <QSet>
5 
6 class WindowManager : public QObject
7 {
8 	Q_OBJECT
9 
10 public:
11 	WindowManager();
12 	~WindowManager();
13 
14 	void add(class MainWindow *mainwin);
15 	void remove(class MainWindow *mainwin);
16 	const QSet<MainWindow*> &getWindows() const;
17 private:
18 	QSet<MainWindow*> windows;
19 };
20