aboutsummaryrefslogtreecommitdiff
path: root/src/browser.h
blob: 38826f0774b734e97fd7a713a46bdad0642f8870 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef BROWSER_H
#define BROWSER_H

#include <QObject>
#include <QVector>

class MainWindow;
class Browser : public QObject
{
    Q_OBJECT

public:
    explicit Browser(QString configPath, QObject *parent = 0);
    ~Browser();

    void addWindow(MainWindow* window);

public slots:
    void removeWindow(MainWindow* window);

private:
    QVector<MainWindow*> m_windows;

};

#endif // BROWSER_H