feat: Add crash recovery on Windows (#5012)
This commit is contained in:
@@ -44,6 +44,7 @@ class FfzBadges;
|
||||
class SeventvBadges;
|
||||
class ImageUploader;
|
||||
class SeventvAPI;
|
||||
class CrashHandler;
|
||||
|
||||
class IApplication
|
||||
{
|
||||
@@ -60,6 +61,7 @@ public:
|
||||
virtual HotkeyController *getHotkeys() = 0;
|
||||
virtual WindowManager *getWindows() = 0;
|
||||
virtual Toasts *getToasts() = 0;
|
||||
virtual CrashHandler *getCrashHandler() = 0;
|
||||
virtual CommandController *getCommands() = 0;
|
||||
virtual HighlightController *getHighlights() = 0;
|
||||
virtual NotificationController *getNotifications() = 0;
|
||||
@@ -102,6 +104,7 @@ public:
|
||||
Toasts *const toasts{};
|
||||
ImageUploader *const imageUploader{};
|
||||
SeventvAPI *const seventvAPI{};
|
||||
CrashHandler *const crashHandler{};
|
||||
|
||||
CommandController *const commands{};
|
||||
NotificationController *const notifications{};
|
||||
@@ -148,6 +151,10 @@ public:
|
||||
{
|
||||
return this->toasts;
|
||||
}
|
||||
CrashHandler *getCrashHandler() override
|
||||
{
|
||||
return this->crashHandler;
|
||||
}
|
||||
CommandController *getCommands() override
|
||||
{
|
||||
return this->commands;
|
||||
|
||||
Reference in New Issue
Block a user