eVaf
factory.h
Go to the documentation of this file.
1 
20 #ifndef __TEST_FACTORY_H
21 #define __TEST_FACTORY_H
22 
23 #include "version.h"
24 
25 #include <Plugins/iPluginFactory>
26 
27 namespace eVaf {
28 
32 namespace Test {
33 
37 namespace Internal {
38  class TestPlugin;
39 } // namespace eVaf::Test::Internal
40 
41 
46 {
47  Q_OBJECT
48  Q_INTERFACES(eVaf::Plugins::iPluginFactory)
49  Q_PLUGIN_METADATA(IID VER_MODULE_NAME_STR)
50 
51 public:
52 
53  Factory();
54 
55  virtual ~Factory();
56 
57  virtual QObject * create(QString const & name);
58 
59 
60 private: // Members
61 
62  Internal::TestPlugin * mTest;
63 
64 };
65 
66 } // namespace eVaf::Test
67 } // namespace eVaf
68 
69 #endif // factory.h
#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
Plugin factory class for the test plugin.
Definition: factory.h:45