diff --git a/Plugins.md b/Plugins.md index 13285c9..4d66581 100644 --- a/Plugins.md +++ b/Plugins.md @@ -329,6 +329,7 @@ interface IPluginContentProvider : IDisposable List> XmlFieldsGet(); void GetMedia(Threading.CancellationToken Token); void Download(Threading.CancellationToken Token); + void ResetHistoryData(); } ``` @@ -362,6 +363,8 @@ See the [Thrower](#IThrower) , [LogProvider](#ILogProvider) and [Settings](#ISit `GetMedia`: collect posts from the site and add then to the `TempMediaList` list. `Download`: download posts provided by the `TempMediaList` list. +`ResetHistoryData` is a function that will be called when the user resets the downloaded history. + ## IUserMedia This is a interface to create a class or structure to exchange data (to be downloaded) between your plugin and SCrawler. There is already a `PluginUserMedia` structure that implements this interface, but you can create your own.