From 0699c2ad32c2338e505200f6dc954cbcaa610f99 Mon Sep 17 00:00:00 2001 From: Andy <88590076+AAndyProgram@users.noreply.github.com> Date: Sat, 13 Apr 2024 10:11:27 +0300 Subject: [PATCH] 2024.4.13.0 --- Plugins.md | 3 +++ 1 file changed, 3 insertions(+) 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.