diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-11-17 15:25:22 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2017-11-17 20:55:09 +0100 |
commit | 73049d115e190b8c356f0689a9079c3c73cc5765 (patch) | |
tree | 921a1935f6d841988071b930fbfea498bf872a3e /drivers | |
parent | ebbe2bd57235fcbd2edb82c05bb9d7d768b3e7ca (diff) |
Rename OS::get_data_dir to OS::get_user_data_dir
Will be needed to avoid confusion with system data path (XDG_DATA_HOME)
and editor data dir in upcoming refactoring.
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/unix/os_unix.cpp | 2 | ||||
-rw-r--r-- | drivers/unix/os_unix.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/unix/os_unix.cpp b/drivers/unix/os_unix.cpp index 729abd57ef..e67de16ae5 100644 --- a/drivers/unix/os_unix.cpp +++ b/drivers/unix/os_unix.cpp @@ -454,7 +454,7 @@ int OS_Unix::get_processor_count() const { return sysconf(_SC_NPROCESSORS_CONF); } -String OS_Unix::get_data_dir() const { +String OS_Unix::get_user_data_dir() const { String an = get_safe_application_name(); if (an != "") { diff --git a/drivers/unix/os_unix.h b/drivers/unix/os_unix.h index 82c7dee3b9..ad3c62d737 100644 --- a/drivers/unix/os_unix.h +++ b/drivers/unix/os_unix.h @@ -110,7 +110,7 @@ public: virtual String get_installed_templates_path() const; virtual String get_executable_path() const; - virtual String get_data_dir() const; + virtual String get_user_data_dir() const; //virtual void run( MainLoop * p_main_loop ); }; |