mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-12 14:51:38 -05:00
Split startup options for service and applet. Toggle service state between "manual" and "auto" rather than "disabled" and "auto".
This commit is contained in:
@@ -137,10 +137,12 @@ public:
|
||||
void EnableServerEvents(bool);
|
||||
|
||||
/// Enable/disable automatic startup of service and FireflyShell.
|
||||
void EnableAutoStart(HWND, bool);
|
||||
void EnableAppletAutoStart(HWND, bool);
|
||||
void EnableServiceAutoStart(HWND, bool);
|
||||
|
||||
/// Reports 0 for disabled, 1 for enabled, 2 for indeterminate
|
||||
int IsAutoStartEnabled() const;
|
||||
/// Reports 0 for disabled, 1 for enabled
|
||||
bool IsAppletAutoStartEnabled() const;
|
||||
bool IsServiceAutoStartEnabled() const;
|
||||
|
||||
int MessageBox(HWND hwnd, UINT id, UINT flags)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user