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

media_library: Provide a basic implementation for onParsingStatsUpdated

parent 3a941613
......@@ -99,6 +99,12 @@ media_library::onReloadCompleted()
}
}
void
media_library::onParsingStatsUpdated( uint32_t nbParsed, uint32_t nbToParse )
{
LOGI("Parser progress: %d/%d", nbParsed, nbToParse);
}
void
media_library::registerOnChange(media_library_file_list_changed_cb cb, void* cbUserData)
{
......
......@@ -72,6 +72,8 @@ public:
virtual void onReloadStarted() override;
virtual void onReloadCompleted() override;
virtual void onParsingStatsUpdated( uint32_t nbParsed, uint32_t nbToParse ) 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