eVaf
factory.h
Go to the documentation of this file.
1 
20 #ifndef __LOGVIEW_FACTORY_H
21 # define __LOGVIEW_FACTORY_H
22 
23 #include "version.h"
24 
25 #include <Plugins/iPluginFactory>
26 
27 namespace eVaf {
28 namespace LogView {
29 namespace Internal {
30  class Module;
31 } // namespace eVaf::LogView::Internal
32 
33 
38 {
39  Q_OBJECT
40  Q_INTERFACES(eVaf::Plugins::iPluginFactory)
41  Q_PLUGIN_METADATA(IID VER_MODULE_NAME_STR)
42 
43 public:
44 
45  Factory();
46 
47  virtual ~Factory();
48 
49  virtual QObject * create(QString const & name);
50 
51 
52 private: // Members
53 
54  Internal::Module * mPlugin;
55 
56 };
57 
58 } // namespace eVaf::LogView
59 } // namespace eVaf
60 
61 #endif // factory.h
Plugin factory class for the module.
Definition: factory.h:37
LogView module&#39;s implementation.
Definition: logview.h:214
#define VER_MODULE_NAME_STR
Module/library name (shall end with \0)
Definition: version.h:38
Common plugin factory interface for eVaf modules.
Version information for eVaf modules.
Global eVaf namespace.
Definition: engine.h:37