aboutsummaryrefslogtreecommitdiff
path: root/lumina-config/GetPluginDialog.h
blob: b728edb39f166f5f5508a3d1e239f0a1c5caa7c3 (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
27
28
29
30
31
32
33
34
35
36
37
38
//===========================================
//  Lumina-DE source code
//  Copyright (c) 2015, Ken Moore
//  Available under the 3-clause BSD license
//  See the LICENSE file for full details
//===========================================
#ifndef _LUMINA_CONFIG_GET_PLUGIN_DIALOG_H
#define _LUMINA_CONFIG_GET_PLUGIN_DIALOG_H

#include <QDialog>

#include "LPlugins.h"

namespace Ui{
	class GetPluginDialog;
};

class GetPluginDialog : public QDialog{
	Q_OBJECT
public:
	GetPluginDialog(QWidget* parent = 0);
	~GetPluginDialog();
	
	void LoadPlugins(QString type, LPlugins *DB);

	bool selected; //this is set to true if a plugin was selected by the user
	QString plugID; //this is set to the ID of the selected plugin

private:
	Ui::GetPluginDialog *ui;

private slots:
	void pluginchanged();
	void accept();
	
};

#endif
bgstack15