From 48facb797ed912e4ea6b04b17d1ff190ac2daac4 Mon Sep 17 00:00:00 2001 From: stefan Date: Wed, 12 Sep 2018 19:26:21 +0200 Subject: Update to 3.5.2 and .net core 2.1 --- MediaBrowser.Common/Plugins/IPlugin.cs | 110 --------------------------------- 1 file changed, 110 deletions(-) delete mode 100644 MediaBrowser.Common/Plugins/IPlugin.cs (limited to 'MediaBrowser.Common/Plugins/IPlugin.cs') diff --git a/MediaBrowser.Common/Plugins/IPlugin.cs b/MediaBrowser.Common/Plugins/IPlugin.cs deleted file mode 100644 index 999a783fd..000000000 --- a/MediaBrowser.Common/Plugins/IPlugin.cs +++ /dev/null @@ -1,110 +0,0 @@ -using MediaBrowser.Model.Plugins; -using System; - -namespace MediaBrowser.Common.Plugins -{ - /// - /// Interface IPlugin - /// - public interface IPlugin - { - /// - /// Gets the name of the plugin - /// - /// The name. - string Name { get; } - - /// - /// Gets the description. - /// - /// The description. - string Description { get; } - - /// - /// Gets the type of configuration this plugin uses - /// - /// The type of the configuration. - Type ConfigurationType { get; } - - /// - /// Gets the unique id. - /// - /// The unique id. - Guid Id { get; } - - /// - /// Gets the plugin version - /// - /// The version. - Version Version { get; } - - /// - /// Gets a value indicating whether this instance is first run. - /// - /// true if this instance is first run; otherwise, false. - bool IsFirstRun { get; } - - /// - /// Gets the last date modified of the configuration - /// - /// The configuration date last modified. - DateTime ConfigurationDateLastModified { get; } - - /// - /// Gets the path to the assembly file - /// - /// The assembly file path. - string AssemblyFilePath { get; } - - /// - /// Gets the plugin's configuration - /// - /// The configuration. - BasePluginConfiguration Configuration { get; } - - /// - /// Gets the name of the configuration file. Subclasses should override - /// - /// The name of the configuration file. - string ConfigurationFileName { get; } - - /// - /// Gets the full path to the configuration file - /// - /// The configuration file path. - string ConfigurationFilePath { get; } - - /// - /// Gets the full path to the data folder, where the plugin can store any miscellaneous files needed - /// - /// The data folder path. - string DataFolderPath { get; } - - /// - /// Saves the current configuration to the file system - /// - /// Cannot call Plugin.SaveConfiguration from the UI. - void SaveConfiguration(); - - /// - /// Completely overwrites the current configuration with a new copy - /// Returns true or false indicating success or failure - /// - /// The configuration. - /// configuration - void UpdateConfiguration(BasePluginConfiguration configuration); - - /// - /// Gets the plugin info. - /// - /// PluginInfo. - PluginInfo GetPluginInfo(); - - /// - /// Called when just before the plugin is uninstalled from the server. - /// - void OnUninstalling(); - - void SetStartupInfo(bool isFirstRun, Func dateModifiedFn, Action directoryCreateFn); - } -} \ No newline at end of file -- cgit v1.2.3