added tray menu
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
namespace CursorLang.Services;
|
||||
|
||||
/// <summary>
|
||||
/// The icon in the notification area — the only face of an application that works
|
||||
/// in the background.
|
||||
/// </summary>
|
||||
public interface ITrayIcon
|
||||
{
|
||||
/// <summary>The user asks for the settings window: the icon or its menu.</summary>
|
||||
event EventHandler? OpenRequested;
|
||||
|
||||
/// <summary>The user asks the application to quit. There is no other way out.</summary>
|
||||
event EventHandler? ExitRequested;
|
||||
|
||||
/// <summary>
|
||||
/// Puts the icon into the notification area. Returns <c>false</c> when Windows
|
||||
/// refuses to take it.
|
||||
/// </summary>
|
||||
bool Install();
|
||||
}
|
||||
Reference in New Issue
Block a user