Changeset View
Changeset View
Standalone View
Standalone View
src/core-impl/collections/db/MountPointManager.h
Show First 20 Lines • Show All 214 Lines • ▼ Show 20 Line(s) | 191 | private: | |||
---|---|---|---|---|---|
215 | mutable QMutex m_handlerMapMutex; | 215 | mutable QMutex m_handlerMapMutex; | ||
216 | FactoryList m_mediumFactories; | 216 | FactoryList m_mediumFactories; | ||
217 | FactoryList m_remoteFactories; | 217 | FactoryList m_remoteFactories; | ||
218 | bool m_ready; | 218 | bool m_ready; | ||
219 | 219 | | |||
220 | //Solid specific | 220 | //Solid specific | ||
221 | void createHandlerFromDevice( const Solid::Device &device, const QString &udi ); | 221 | void createHandlerFromDevice( const Solid::Device &device, const QString &udi ); | ||
222 | private Q_SLOTS: | 222 | private Q_SLOTS: | ||
223 | void deviceAdded( const QString &udi ); | 223 | void slotDeviceAdded( const QString &udi ); | ||
224 | void deviceRemoved( const QString &udi ); | 224 | void slotDeviceRemoved( const QString &udi ); | ||
225 | 225 | | |||
226 | }; | 226 | }; | ||
227 | 227 | | |||
228 | #define AMAROK_EXPORT_DEVICE_PLUGIN(libname, classname) \ | 228 | #define AMAROK_EXPORT_DEVICE_PLUGIN(libname, classname) \ | ||
229 | K_PLUGIN_FACTORY(factory, registerPlugin<classname>();) \ | 229 | K_PLUGIN_FACTORY(factory, registerPlugin<classname>();) \ | ||
230 | K_EXPORT_PLUGIN(factory("amarok_device_" #libname))\ | 230 | K_EXPORT_PLUGIN(factory("amarok_device_" #libname))\ | ||
231 | 231 | | |||
232 | #endif | 232 | #endif |