From 3ce61cf38727db2f37a0e478182d2a73222c8a7c Mon Sep 17 00:00:00 2001 From: vnugent Date: Sat, 15 Apr 2023 01:58:55 -0400 Subject: Managed assembly loading overhaul --- .../src/IPluginReloadEventHandler.cs | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 lib/Plugins.Runtime/src/IPluginReloadEventHandler.cs (limited to 'lib/Plugins.Runtime/src/IPluginReloadEventHandler.cs') diff --git a/lib/Plugins.Runtime/src/IPluginReloadEventHandler.cs b/lib/Plugins.Runtime/src/IPluginReloadEventHandler.cs new file mode 100644 index 0000000..d29ad8c --- /dev/null +++ b/lib/Plugins.Runtime/src/IPluginReloadEventHandler.cs @@ -0,0 +1,36 @@ +/* +* Copyright (c) 2023 Vaughn Nugent +* +* Library: VNLib +* Package: VNLib.Plugins.Runtime +* File: IPluginReloadEventHandler.cs +* +* IPluginReloadEventHandler.cs is part of VNLib.Plugins.Runtime which +* is part of the larger VNLib collection of libraries and utilities. +* +* VNLib.Plugins.Runtime is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published +* by the Free Software Foundation, either version 2 of the License, +* or (at your option) any later version. +* +* VNLib.Plugins.Runtime is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +* General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with VNLib.Plugins.Runtime. If not, see http://www.gnu.org/licenses/. +*/ + +namespace VNLib.Plugins.Runtime +{ + internal interface IPluginReloadEventHandler + { + /// + /// Called every time a watched has a file in the directory + /// change + /// + /// The that had a file change event occur + void OnPluginUnloaded(IPluginAssemblyLoader loader); + } +} -- cgit