|
Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
|


Public Member Functions | |
| fs::path | get_user_dir (bool force_default) override |
| Gets the zrythm directory, either from the settings if non-empty, or the default ($XDG_DATA_DIR/zrythm). | |
| const fs::path & | get_testing_dir () |
| Returns the current testing dir. | |
| void | remove_testing_dir () |
| Clears testing_dir and removes the testing dir from the disk. | |
| fs::path | get_prefix () const override |
| Returns the prefix or in the case of Windows the root dir (C/program files/zrythm) or in the case of macos the bundle path. | |
| fs::path | get_default_user_dir () override |
| Returns the default user "zrythm" dir. | |
| Public Member Functions inherited from IDirectoryManager | |
| virtual fs::path | get_dir (DirectoryType type) |
| Returns a Zrythm directory specified by type. | |
Data Fields | |
| fs::path | testing_dir_ |
| Zrythm directory used during unit tests. | |
Additional Inherited Members | |
| Public Types inherited from IDirectoryManager | |
| enum class | DirectoryType { SYSTEM_PREFIX , SYSTEM_BINDIR , SYSTEM_PARENT_DATADIR , SYSTEM_PARENT_LIBDIR , SYSTEM_ZRYTHM_LIBDIR , SYSTEM_BUNDLED_PLUGINSDIR , SYSTEM_LOCALEDIR , SYSTEM_ZRYTHM_DATADIR , SYSTEM_SAMPLESDIR , SYSTEM_SCRIPTSDIR , SYSTEM_THEMESDIR , SYSTEM_THEMES_CSS_DIR , SYSTEM_THEMES_ICONS_DIR , SYSTEM_SPECIAL_LV2_PLUGINS_DIR , SYSTEM_TEMPLATES , USER_TOP , USER_PROJECTS , USER_TEMPLATES , USER_THEMES , USER_THEMES_CSS , USER_THEMES_ICONS , USER_SCRIPTS , USER_LOG , USER_PROFILING , USER_GDB , USER_BACKTRACE } |
| Type of directory. More... | |
Definition at line 184 of file directory_manager.h.
|
inlineoverride |
Definition at line 188 of file directory_manager.h.
|
overridevirtual |
Returns the default user "zrythm" dir.
This is used when resetting or when the dir is not selected by the user yet.
Implements IDirectoryManager.
|
overridevirtual |
Returns the prefix or in the case of Windows the root dir (C/program files/zrythm) or in the case of macos the bundle path.
In all cases, "share" is expected to be found in this dir.
Implements IDirectoryManager.
| const fs::path & TestingDirectoryManager::get_testing_dir | ( | ) |
Returns the current testing dir.
If empty, this creates a new testing dir on the disk.
|
overridevirtual |
Gets the zrythm directory, either from the settings if non-empty, or the default ($XDG_DATA_DIR/zrythm).
| force_default | Ignore the settings and get the default dir. |
Implements IDirectoryManager.
| fs::path TestingDirectoryManager::testing_dir_ |
Zrythm directory used during unit tests.
Definition at line 206 of file directory_manager.h.