2022-09-19 09:06:23 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2022, Andreas Kling <kling@serenityos.org>
|
2023-08-05 16:42:26 +00:00
|
|
|
* Copyright (c) 2023, Andrew Kaster <akaster@serenityos.org>
|
2022-09-19 09:06:23 +00:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2023-12-16 14:19:34 +00:00
|
|
|
#include <AK/ByteString.h>
|
2023-08-01 17:56:10 +00:00
|
|
|
#include <AK/Error.h>
|
2023-02-01 17:47:56 +00:00
|
|
|
#include <AK/String.h>
|
2023-08-01 17:56:10 +00:00
|
|
|
#include <AK/Vector.h>
|
2022-09-19 09:06:23 +00:00
|
|
|
|
2022-10-05 13:23:41 +00:00
|
|
|
void platform_init();
|
2023-08-05 16:42:26 +00:00
|
|
|
ErrorOr<String> application_directory();
|
2023-08-01 17:56:10 +00:00
|
|
|
ErrorOr<Vector<String>> get_paths_for_helper_process(StringView process_name);
|
2022-10-05 13:23:41 +00:00
|
|
|
|
2023-12-16 14:19:34 +00:00
|
|
|
extern ByteString s_serenity_resource_root;
|