E:\Devel\PlayniteDiagTool\PlayniteDiagTool\bin\Debug\temp\PlayniteSDK\Events\ApplicationEvents.cs e:\Devel\Playnite\source\PlayniteSDK\Events\ApplicationEvents.cs
.  using Playnite.SDK.Models;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
   
namespace Playnite.SDK.Events namespace Playnite.SDK.Events
{ {
   /// <summary>    /// <summary>
   /// Application wide events.    /// Application wide events.
   /// </summary>    /// </summary>
   public enum ApplicationEvent    public enum ApplicationEvent
   {    {
       /// <summary>        /// <summary>
       ///        ///
       /// </summary>        /// </summary>
       OnApplicationStarted,        OnApplicationStarted,
       /// <summary>        /// <summary>
       ///        ///
       /// </summary>        /// </summary>
       OnApplicationStopped,        OnApplicationStopped,
       /// <summary>        /// <summary>
       ///        ///
       /// </summary>        /// </summary>
       OnLibraryUpdated,        OnLibraryUpdated,
       /// <summary>        /// <summary>
       ///        ///
       /// </summary>        /// </summary>
       OnGameStarting,        OnGameStarting,
       /// <summary>        /// <summary>
       ///        ///
       /// </summary>        /// </summary>
       OnGameStarted,        OnGameStarted,
       /// <summary>        /// <summary>
       ///        ///
       /// </summary>        /// </summary>
       OnGameStopped,        OnGameStopped,
       /// <summary>        /// <summary>
       ///        ///
       /// </summary>        /// </summary>
       OnGameInstalled,        OnGameInstalled,
       /// <summary>        /// <summary>
       ///        ///
       /// </summary>        /// </summary>
       OnGameUninstalled,        OnGameUninstalled,
       /// <summary>        /// <summary>
       ///        ///
       /// </summary>        /// </summary>
       OnGameSelected        OnGameSelected
.     }
   
     /// <summary>
     /// Represents game selection change event.
     /// </summary>
     public class OnGameSelectedEventArgs
     {
         /// <summary>
         /// Gets previously selected games.
         /// </summary>
         public List<Game> OldValue { get; internal set; }
   
         /// <summary>
         /// Gets newly selected games.
         /// </summary>
         public List<Game> NewValue { get; internal set; }
   
         /// <summary>
         /// Creates new instance of <see cref="OnGameSelectedEventArgs"/>.
         /// </summary>
         /// <param name="oldValue"></param>
         /// <param name="newValue"></param>
         public OnGameSelectedEventArgs(List<Game> oldValue, List<Game> newValue)
         {
             OldValue = oldValue;
             NewValue = newValue;
         }
     }
   
     /// <summary>
     /// Represents arguments for the event when a game is starting.
     /// </summary>
     public class OnGameStartingEventArgs
     {
         /// <summary>
         /// Gets or sets game object initiating the event.
         /// </summary>
         public Game Game { get; internal set; }
     }
   
     /// <summary>
     /// Represents arguments for the event a game starts running.
     /// </summary>
     public class OnGameStartedEventArgs
     {
         /// <summary>
         /// Gets or sets game object initiating the event.
         /// </summary>
         public Game Game { get; internal set; }
     }
   
     /// <summary>
     /// Reperesents arguments for the event when a game stops running.
     /// </summary>
     public class OnGameStoppedEventArgs
     {
         /// <summary>
         /// Gets or sets game object initiating the event.
         /// </summary>
         public Game Game { get; internal set; }
   
         /// <summary>
         /// Gets or sets length of the game session in seconds.
         /// </summary>
         public ulong ElapsedSeconds { get; internal set; }
     }
   
     /// <summary>
     /// Represents arguments for the event when a game is installed.
     /// </summary>
     public class OnGameInstalledEventArgs
     {
         /// <summary>
         /// Gets or sets game object initiating the event.
         /// </summary>
         public Game Game { get; internal set; }
     }
   
     /// <summary>
     /// Represents arguments for the event when a game is uninstalled.
     /// </summary>
     public class OnGameUninstalledEventArgs
     {
         /// <summary>
         /// Gets or sets game object initiating the event.
         /// </summary>
         public Game Game { get; internal set; }
     }
   
     /// <summary>
     /// Represents arguments for the event when Playnite is started.
     /// </summary>
     public class OnApplicationStartedEventArgs
     {
     }
   
     /// <summary>
     /// Represents arguments for the event when Playnite is closing down.
     /// </summary>
     public class OnApplicationStoppedEventArgs
     {
     }
   
     /// <summary>
     /// Represents arguments for the event when the game library is updated.
     /// </summary>
     public class OnLibraryUpdatedEventArgs
     {
   }    }
} }