|
Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
|
To be used throughout the program. More...
#include <src/gui/backend/backend/zrythm.h>


Public Member Functions | |
| void | pre_init (std::optional< std::filesystem::path > exe_path, bool have_ui, bool optimized_dsp) |
| Called before init(). | |
| void | init () |
| QString | getVersion () const |
| void | init_user_dirs_and_files () |
| Initializes/creates the default dirs/files in the user directory. | |
| Public Member Functions inherited from zrythm::utils::QElapsedTimeProvider | |
| MonotonicTime | get_monotonic_time_nsecs () const override |
| MonotonicTime | get_monotonic_time_usecs () const override |
Static Public Member Functions | |
| static utils::Utf8String | get_version (bool with_v) |
| Returns the version string. | |
| static utils::Version | get_app_version () |
| Returns the application version as a Version struct. | |
| static bool | is_release (bool official) |
| Returns whether the current Zrythm version is a release version. | |
| static void | fetch_latest_release_ver_async (networking::URL::GetContentsAsyncCallback callback) |
| static bool | is_latest_release (const char *remote_latest_release) |
| Returns whether the given release string is the latest release. | |
| static void | get_version_with_capabilities (char *buf, bool include_system_info) |
| Returns the version and the capabilities. | |
| static utils::Utf8String | get_system_info () |
| Returns system info (mainly used for bug reports). | |
Data Fields | |
| std::filesystem::path | exe_path_ |
| argv[0]. | |
| std::unique_ptr< Settings > | settings_ |
| Application settings. | |
| bool | opening_template_ = false |
| Whether the open file is a template to be used to create a new project from. | |
| bool | creating_project_ = false |
| Whether creating a new project, either from a template or blank. | |
| std::filesystem::path | create_project_path_ |
| Path to create a project in, including its title. | |
| std::filesystem::path | open_filename_ |
| Filename to open passed through the command line. | |
| Symap | symap_ |
| String interner for internal things. | |
| bool | debug_ = false |
| In debug mode or not (determined by GSetting). | |
| bool | break_on_error_ = false |
| Whether to abort() on an error log message. | |
| bool | generating_project_ = false |
| Whether this is a dummy instance used when generating projects. | |
| bool | have_ui_ = false |
| 1 if Zrythm has a UI, 0 if headless (eg, when unit-testing). | |
| bool | use_optimized_dsp_ = false |
| Whether to use optimized DSP when available. | |
| int | undo_stack_len_ = 0 |
| Undo stack length, used during tests. | |
| bool | open_newer_backup_ = false |
| Whether to open a newer backup if found. | |
| bool | use_pipewire_in_tests_ = false |
| Whether to use pipewire in tests. | |
| ProcessId | pipewire_pid_ = 0 |
| Process ID for pipewire (used in tests). | |
| std::unique_ptr< ChordPresetPackManager > | chord_preset_pack_manager_ |
| Chord preset pack manager. | |
| std::unique_ptr< DspContextRAII > | lsp_dsp_context_ |
| LSP DSP context for the main thread. | |
| bool | benchmarking_ = false |
| Whether currently running under the benchmarker. | |
Properties | |
| QML_ELEMENT QString | version |
To be used throughout the program.
Everything here should be global and function regardless of the project.