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