dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
setupwizardplugin.h
Go to the documentation of this file.
1 
14 /*
15  * This program is free software; you can redistribute it and/or modify
16  * it under the terms of the GNU General Public License as published by
17  * the Free Software Foundation; either version 3 of the License, or
18  * (at your option) any later version.
19  *
20  * This program is distributed in the hope that it will be useful, but
21  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
22  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
23  * for more details.
24  *
25  * You should have received a copy of the GNU General Public License along
26  * with this program; if not, see <http://www.gnu.org/licenses/>
27  */
28 #ifndef SETUPWIZARDPLUGIN_H
29 #define SETUPWIZARDPLUGIN_H
30 
32 #include <QWizard>
33 #include "setupwizard.h"
34 
36 {
37  Q_OBJECT
38  Q_PLUGIN_METADATA(IID "org.dronin.plugins.SetupWizard")
39 public:
42 
43  void extensionsInitialized();
44  bool initialize(const QStringList &arguments, QString *errorString);
45  void shutdown();
46 
47 private slots:
48  void showSetupWizard(bool autoLaunched);
49  void wizardTerminated();
50  void ignoreBoard(QByteArray uuid);
51 
52 private:
53  bool wizardRunning;
54  QSet<QByteArray> ignoredBoards;
55 };
56 
57 #endif // SETUPWIZARDPLUGIN_H
58 
Base class for all plugins.
Definition: iplugin.h:45