1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 15:07:45 +00:00

LibCore: Add a standard path for runtime communication files

This corresponds to XDG_RUNTIME_DIR, which is the path applications may
place runtime communication files, like local sockets.
This commit is contained in:
Timothy Flynn 2022-12-09 11:15:17 -05:00 committed by Tim Flynn
parent 7a5ceebb50
commit c46c3555a1
2 changed files with 24 additions and 0 deletions

View file

@ -6,6 +6,7 @@
#pragma once
#include <AK/Error.h>
#include <AK/Forward.h>
namespace Core {
@ -19,6 +20,7 @@ public:
static DeprecatedString tempfile_directory();
static DeprecatedString config_directory();
static DeprecatedString data_directory();
static ErrorOr<DeprecatedString> runtime_directory();
};
}