mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-04 03:27:21 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			42 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
using MediaBrowser.Model.System;
 | 
						|
using Microsoft.AspNetCore.Http;
 | 
						|
using Microsoft.AspNetCore.Mvc;
 | 
						|
 | 
						|
namespace MediaBrowser.Controller;
 | 
						|
 | 
						|
/// <summary>
 | 
						|
/// A service for managing the application instance.
 | 
						|
/// </summary>
 | 
						|
public interface ISystemManager
 | 
						|
{
 | 
						|
    /// <summary>
 | 
						|
    /// Gets the system info.
 | 
						|
    /// </summary>
 | 
						|
    /// <param name="request">The HTTP request.</param>
 | 
						|
    /// <returns>The <see cref="SystemInfo"/>.</returns>
 | 
						|
    SystemInfo GetSystemInfo(HttpRequest request);
 | 
						|
 | 
						|
    /// <summary>
 | 
						|
    /// Gets the public system info.
 | 
						|
    /// </summary>
 | 
						|
    /// <param name="request">The HTTP request.</param>
 | 
						|
    /// <returns>The <see cref="PublicSystemInfo"/>.</returns>
 | 
						|
    PublicSystemInfo GetPublicSystemInfo(HttpRequest request);
 | 
						|
 | 
						|
    /// <summary>
 | 
						|
    /// Starts the application restart process.
 | 
						|
    /// </summary>
 | 
						|
    void Restart();
 | 
						|
 | 
						|
    /// <summary>
 | 
						|
    /// Starts the application shutdown process.
 | 
						|
    /// </summary>
 | 
						|
    void Shutdown();
 | 
						|
 | 
						|
    /// <summary>
 | 
						|
    /// Gets the systems storage resources.
 | 
						|
    /// </summary>
 | 
						|
    /// <returns>The <see cref="SystemStorageInfo"/>.</returns>
 | 
						|
    SystemStorageInfo GetSystemStorageInfo();
 | 
						|
}
 |