Commit a7a4168d authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

media_library: Update to recent progress API changes

parent 44e93709
......@@ -101,9 +101,9 @@ media_library::onReloadCompleted()
media_library::onParsingStatsUpdated( uint32_t nbParsed, uint32_t nbToParse )
media_library::onParsingStatsUpdated( uint32_t percent )
LOGI("Parser progress: %d/%d", nbParsed, nbToParse);
LOGI("Parser progress: %d%%", percent);
......@@ -77,7 +77,7 @@ public:
virtual void onReloadStarted() override;
virtual void onReloadCompleted() override;
virtual void onParsingStatsUpdated( uint32_t nbParsed, uint32_t nbToParse ) override;
virtual void onParsingStatsUpdated( uint32_t percent ) override;
void registerOnChange(media_library_file_list_changed_cb cb, void* cbUserData);
void unregisterOnChange(media_library_file_list_changed_cb cb, void* cbUserData);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment