Vital
|
A utility class that handles initialization tasks and compatibility checks upon Vital’s startup. More...
#include <startup.h>
Static Public Member Functions | |
static void | doStartupChecks (MidiManager *midi_manager, vital::StringLayout *layout=nullptr) |
Performs initial startup checks and configuration loading. | |
static bool | isComputerCompatible () |
Checks if the current computer hardware is compatible with Vital’s CPU instruction requirements. | |
A utility class that handles initialization tasks and compatibility checks upon Vital’s startup.
The Startup class provides methods to perform essential checks and setup when Vital is launched. This includes:
|
static |
Performs initial startup checks and configuration loading.
This method checks if the software has been installed or upgraded since the last run, updates configuration if necessary, and loads vital preferences and MIDI mappings.
midi_manager | A pointer to the MidiManager, used to restore MIDI mappings and other related settings. |
layout | An optional pointer to a vital::StringLayout instance, allowing the restoration of custom keyboard layouts. |
|
static |
Checks if the current computer hardware is compatible with Vital’s CPU instruction requirements.
This typically checks for SSE2 or AVX2 support on non-ARM platforms, and assumes compatibility on ARM platforms.