eVaf
iplugin.h
Go to the documentation of this file.
1 
20 #ifndef __PLUGINS_IPLUGIN_H
21 #define __PLUGINS_IPLUGIN_H
22 
23 #include "libplugins.h"
24 
25 #include <QObject>
26 #include <QString>
27 
28 namespace eVaf {
29 namespace Plugins {
30 
39 {
40  Q_OBJECT
41 
42 public:
43 
45  iPlugin() : QObject() {}
46 
48  virtual ~iPlugin() {}
49 
69  virtual bool init(const QString & args) = 0;
70 
78  virtual void done() = 0;
79 
87  virtual bool isReady() const = 0;
88 
89 };
90 
91 } // namespace eVaf::Plugins
92 } // namespace eVaf
93 
94 Q_DECLARE_INTERFACE(eVaf::Plugins::iPlugin, "eVaf.Plugins.iPlugin/1.0")
95 
96 #endif // iplugin.h
bool COMMON_EXPORT init()
eVaf common library initialized
virtual ~iPlugin()
Empty virtual destructor.
Definition: iplugin.h:48
#define PLUGINS_EXPORT
Definition: libplugins.h:27
iPlugin()
Empty constructor.
Definition: iplugin.h:45
Global eVaf namespace.
Definition: engine.h:37
Common interface for all the eVaf modules.
Definition: iplugin.h:38