summaryrefslogtreecommitdiffstats
path: root/src/client/addons/addons.h
blob: 185c39904ff6a9fd3e0289e55af53f83d3f659e9 (plain) (blame)
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
#ifndef _ADDONS_H_
#define _ADDONS_H_

#include <QString>
#include <QList>

class Toolbar;
class QPushButton;
class QAction;

class Addon;

class AddonManager
{
public:
	static void loadFromPath(const QString &path, QList<QPushButton*> &buttons, QList<QAction*> &menuEntries);
	static void initControls();
	static void connectEvent(bool isLocal, const QString &address);
	static void disconnectEvent();

private:
	static QList<Addon*> _addons;
};

#endif