equal
deleted
inserted
replaced
73 protected: |
73 protected: |
74 ~QSensorBackendFactory() {} |
74 ~QSensorBackendFactory() {} |
75 }; |
75 }; |
76 |
76 |
77 #define REGISTER_STATIC_PLUGIN(pluginname)\ |
77 #define REGISTER_STATIC_PLUGIN(pluginname)\ |
78 static QSensorPlugin *create_static_plugin_ ## pluginname()\ |
78 static QSensorPluginInterface *create_static_plugin_ ## pluginname()\ |
79 {\ |
79 {\ |
80 return new pluginname;\ |
80 return new pluginname;\ |
81 }\ |
81 }\ |
82 static bool side_effect_sensor_backend_ ## pluginname ()\ |
82 static bool side_effect_sensor_backend_ ## pluginname ()\ |
83 {\ |
83 {\ |