Changeset View
Changeset View
Standalone View
Standalone View
src/core-impl/collections/support/CollectionManager.h
Show First 20 Lines • Show All 125 Lines • ▼ Show 20 Line(s) | 51 | public: | |||
---|---|---|---|---|---|
126 | void removeTrackProvider( Collections::TrackProvider *provider ); | 126 | void removeTrackProvider( Collections::TrackProvider *provider ); | ||
127 | 127 | | |||
128 | /** | 128 | /** | ||
129 | * Set the list of current factories | 129 | * Set the list of current factories | ||
130 | * | 130 | * | ||
131 | * For every factory that is a CollectionFactory uses it to create new | 131 | * For every factory that is a CollectionFactory uses it to create new | ||
132 | * collections and register with this manager. | 132 | * collections and register with this manager. | ||
133 | */ | 133 | */ | ||
134 | void setFactories( const QList<Plugins::PluginFactory*> &factories ); | 134 | void setFactories( const QList<QSharedPointer<Plugins::PluginFactory> > &factories ); | ||
135 | 135 | | |||
136 | public Q_SLOTS: | 136 | public Q_SLOTS: | ||
137 | /** Starts the full scan for each collection with CollectionScanCapability */ | 137 | /** Starts the full scan for each collection with CollectionScanCapability */ | ||
138 | void startFullScan(); | 138 | void startFullScan(); | ||
139 | /** Starts the incremetal scan for each collection with CollectionScanCapability */ | 139 | /** Starts the incremetal scan for each collection with CollectionScanCapability */ | ||
140 | void startIncrementalScan( const QString &directory = QString() ); | 140 | void startIncrementalScan( const QString &directory = QString() ); | ||
141 | void stopScan(); | 141 | void stopScan(); | ||
142 | void checkCollectionChanges(); | 142 | void checkCollectionChanges(); | ||
Show All 36 Lines |