dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
importexportplugin.h
Go to the documentation of this file.
1 
11 /*
12  * This program is free software; you can redistribute it and/or modify
13  * it under the terms of the GNU General Public License as published by
14  * the Free Software Foundation; either version 3 of the License, or
15  * (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful, but
18  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
19  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
20  * for more details.
21  *
22  * You should have received a copy of the GNU General Public License along
23  * with this program; if not, see <http://www.gnu.org/licenses/>
24  */
25 
26 #ifndef IMPORTEXPORTPLUGIN_H_
27 #define IMPORTEXPORTPLUGIN_H_
28 
30 #include "importexport_global.h"
31 
32 class IMPORTEXPORT_EXPORT ImportExportPlugin : public ExtensionSystem::IPlugin
33 {
34  Q_OBJECT
35  Q_PLUGIN_METADATA(IID "org.dronin.plugins.ImportExportPlugin")
36 public:
39 
40  void extensionsInitialized();
41  bool initialize(const QStringList &arguments, QString *errorString);
42  void shutdown();
43 
44 private:
45 private slots:
46  void importExport();
47 };
48 #endif /* IMPORTEXPORTPLUGIN_H_ */
49 
virtual void extensionsInitialized()=0
virtual bool initialize(const QStringList &arguments, QString *errorString)=0
Base class for all plugins.
Definition: iplugin.h:45
virtual void shutdown()
Definition: iplugin.h:55