[vlmc-devel] Library: Add void onBackgroundTasksIdleChanged( bool )

Yikai Lu git at videolan.org
Wed May 17 11:15:07 CEST 2017


vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Wed May 17 15:47:24 2017 +0900| [6b944af4172ed26967283da3b1b910cb19a8b582] | committer: Yikai Lu

Library: Add void onBackgroundTasksIdleChanged( bool )

> https://code.videolan.org/videolan/vlmc/commit/6b944af4172ed26967283da3b1b910cb19a8b582
---

 src/Library/Library.cpp | 6 ++++++
 src/Library/Library.h   | 1 +
 2 files changed, 7 insertions(+)

diff --git a/src/Library/Library.cpp b/src/Library/Library.cpp
index 5d150d1..bd35af5 100644
--- a/src/Library/Library.cpp
+++ b/src/Library/Library.cpp
@@ -340,3 +340,9 @@ void
 Library::onEntryPointUnbanned( const std::string&, bool )
 {
 }
+
+void
+Library::onBackgroundTasksIdleChanged( bool )
+{
+
+}
diff --git a/src/Library/Library.h b/src/Library/Library.h
index 2879745..a1e2785 100644
--- a/src/Library/Library.h
+++ b/src/Library/Library.h
@@ -106,6 +106,7 @@ private:
     virtual void onEntryPointRemoved( const std::string& entryPoint, bool success ) override;
     virtual void onEntryPointBanned( const std::string& entryPoint, bool success ) override;
     virtual void onEntryPointUnbanned( const std::string& entryPoint, bool success ) override;
+    virtual void onBackgroundTasksIdleChanged( bool isIdle ) override;
 
 private:
     std::unique_ptr<medialibrary::IMediaLibrary>    m_ml;



More information about the Vlmc-devel mailing list