<div dir="auto">I have no business receiving these emails  sorry!</div><div class="gmail_extra"><br><div class="gmail_quote">On Mar 1, 2017 1:52 PM, "yikei lu" <<a href="mailto:luyikei.qmltu@gmail.com">luyikei.qmltu@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, Mar 1, 2017 at 8:12 AM, Abhimanyu Singh Gaur <<a href="mailto:gaur.1@iitj.ac.in">gaur.1@iitj.ac.in</a>> wrote:<br>
> The recent changes in MediaLibrary API have introduced some more virtual functions, which were not implemented in Library, hence building VLMC was giving compile time errors. This patch adds empty definitions for those functions.<br>
> This also resolves the issue #35.<br>
> ---<br>
>  src/Library/Library.cpp | 20 ++++++++++++++++++++<br>
>  src/Library/Library.h   |  5 +++++<br>
>  2 files changed, 25 insertions(+)<br>
><br>
> diff --git a/src/Library/Library.cpp b/src/Library/Library.cpp<br>
> index 9c74b43..7364a44 100644<br>
> --- a/src/Library/Library.cpp<br>
> +++ b/src/Library/Library.cpp<br>
> @@ -339,3 +339,23 @@ void Library::onPlaylistsModified( std::vector<medialibrary::<wbr>PlaylistPtr> )<br>
>  void Library::onPlaylistsDeleted( std::vector<int64_t> )<br>
>  {<br>
>  }<br>
> +<br>
> +void Library::onReloadStarted( const std::string& entryPoint )<br>
> +{<br>
> +}<br>
<br>
Nitpicking but you can omit names of parameter variables like other<br>
empty functions do.<br>
Also the usual way to format functions in VLMC is like:<br>
<br>
void<br>
functionNames()<br>
{<br>
}<br>
<br>
Thanks for your patch though!<br>
<br>
> +<br>
> +void Library::onReloadCompleted( const std::string& entryPoint )<br>
> +{<br>
> +}<br>
> +<br>
> +void Library::onEntryPointRemoved( const std::string& entryPoint, bool success )<br>
> +{<br>
> +}<br>
> +<br>
> +void Library::onEntryPointBanned( const std::string& entryPoint, bool success )<br>
> +{<br>
> +}<br>
> +<br>
> +void Library::onEntryPointUnbanned( const std::string& entryPoint, bool success )<br>
> +{<br>
> +}<br>
> diff --git a/src/Library/Library.h b/src/Library/Library.h<br>
> index 5c50927..31617b8 100644<br>
> --- a/src/Library/Library.h<br>
> +++ b/src/Library/Library.h<br>
> @@ -107,6 +107,11 @@ private:<br>
>      virtual void onPlaylistsAdded( std::vector<medialibrary::<wbr>PlaylistPtr> playlists ) override;<br>
>      virtual void onPlaylistsModified( std::vector<medialibrary::<wbr>PlaylistPtr> playlists ) override;<br>
>      virtual void onPlaylistsDeleted( std::vector<int64_t> playlistIds ) override;<br>
> +    virtual void onReloadStarted( const std::string& entryPoint ) override;<br>
> +    virtual void onReloadCompleted( const std::string& entryPoint ) override;<br>
> +    virtual void onEntryPointRemoved( const std::string& entryPoint, bool success ) override;<br>
> +    virtual void onEntryPointBanned( const std::string& entryPoint, bool success ) override;<br>
> +    virtual void onEntryPointUnbanned( const std::string& entryPoint, bool success ) override;<br>
><br>
>  private:<br>
>      std::unique_ptr<medialibrary::<wbr>IMediaLibrary>    m_ml;<br>
> --<br>
> 2.9.3<br>
><br>
> ______________________________<wbr>_________________<br>
> Vlmc-devel mailing list<br>
> <a href="mailto:Vlmc-devel@videolan.org">Vlmc-devel@videolan.org</a><br>
> <a href="https://mailman.videolan.org/listinfo/vlmc-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/<wbr>listinfo/vlmc-devel</a><br>
______________________________<wbr>_________________<br>
Vlmc-devel mailing list<br>
<a href="mailto:Vlmc-devel@videolan.org">Vlmc-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/vlmc-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/<wbr>listinfo/vlmc-devel</a><br>
</blockquote></div></div>