#nullable disable
using System;
using MediaBrowser.Model.Plugins;
namespace MediaBrowser.Common.Plugins
{
    /// 
    /// Defines the .
    /// 
    public interface IPlugin
    {
        /// 
        /// Gets the name of the plugin.
        /// 
        string Name { get; }
        /// 
        /// Gets the Description.
        /// 
        string Description { get; }
        /// 
        /// Gets the unique id.
        /// 
        Guid Id { get; }
        /// 
        /// Gets the plugin version.
        /// 
        Version Version { get; }
        /// 
        /// Gets the path to the assembly file.
        /// 
        string AssemblyFilePath { get; }
        /// 
        /// Gets a value indicating whether the plugin can be uninstalled.
        /// 
        bool CanUninstall { get; }
        /// 
        /// Gets the full path to the data folder, where the plugin can store any miscellaneous files needed.
        /// 
        string DataFolderPath { get; }
        /// 
        /// Gets the .
        /// 
        /// PluginInfo.
        PluginInfo GetPluginInfo();
        /// 
        /// Called when just before the plugin is uninstalled from the server.
        /// 
        void OnUninstalling();
    }
}