mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-25 18:52:22 -05:00
c46c3555a1
This corresponds to XDG_RUNTIME_DIR, which is the path applications may place runtime communication files, like local sockets.
26 lines
626 B
C++
26 lines
626 B
C++
/*
|
|
* Copyright (c) 2020, Andreas Kling <kling@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/Error.h>
|
|
#include <AK/Forward.h>
|
|
|
|
namespace Core {
|
|
|
|
class StandardPaths {
|
|
public:
|
|
static DeprecatedString home_directory();
|
|
static DeprecatedString desktop_directory();
|
|
static DeprecatedString documents_directory();
|
|
static DeprecatedString downloads_directory();
|
|
static DeprecatedString tempfile_directory();
|
|
static DeprecatedString config_directory();
|
|
static DeprecatedString data_directory();
|
|
static ErrorOr<DeprecatedString> runtime_directory();
|
|
};
|
|
|
|
}
|