diff --git a/Plugins.md b/Plugins.md index bce47e7..f555632 100644 --- a/Plugins.md +++ b/Plugins.md @@ -134,6 +134,8 @@ interface ISiteSettings void BeforeStartDownload(object User, Download What); void AfterDownload(object User, Download What); void DownloadDone(Download What); + void Update(); + void Reset(); void OpenSettingsForm(); void UserOptions(ref object Options, bool OpenForm); } @@ -258,6 +260,18 @@ This function will be called before the user starts downloading. Here you can se This function will be called after the user download is complete. +### Update + +```Sub Update()``` + +This function will be called when saving site settings on the site settings form. You don't need to update the ```PropertyValue``` properties (these properties are updated automatically). + +### Reset + +```Sub Reset()``` + +Not used. Added just in case. + ### DownloadDone ```Sub DownloadDone(ByVal What As Download)```