eVaf
ipluginfactory.h
Go to the documentation of this file.
1 
20 #ifndef __PLUGINS_IPLUGINFACTORY_H
21 #define __PLUGINS_IPLUGINFACTORY_H
22 
23 #include "libplugins.h"
24 
25 #include <QObject>
26 #include <QString>
27 
28 namespace eVaf {
29 namespace Plugins {
30 
42 {
43  Q_OBJECT
44 
45 public:
46 
49 
51  virtual ~iPluginFactory() {}
52 
66  virtual QObject * create(const QString & name) = 0;
67 
68 };
69 
70 } // namespace eVaf::Plugins
71 } // namespace eVaf
72 
73 Q_DECLARE_INTERFACE(eVaf::Plugins::iPluginFactory, "eVaf.Plugins.iPluginFactory/1.0")
74 
75 #endif // ipluginfactory.h
iPluginFactory()
Empty constructor.
#define PLUGINS_EXPORT
Definition: libplugins.h:27
Common plugin factory interface for eVaf modules.
Global eVaf namespace.
Definition: engine.h:37
virtual ~iPluginFactory()
Empty virtual destructor.