diff options
author | Andreas Kling <kling@serenityos.org> | 2023-02-28 16:39:41 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-03-03 15:23:47 +0100 |
commit | d0977ac566330916d9ad7ad4258e41361fffb89a (patch) | |
tree | 5e2e9b200721afbc23b1bbfcbd99e1b600172949 /Userland/Libraries/LibCore/Version.h | |
parent | ad4b4046f4503a54b5762f97381cc7b8d90402fc (diff) | |
download | serenity-d0977ac566330916d9ad7ad4258e41361fffb89a.zip |
LibCore+LibGUI+About: Use String in Core::Version and GUI::AboutDialog
The Core::Version API now returns ErrorOr<String>, and the
GUI::AboutDialog API was adjusted to accommodate this.
Diffstat (limited to 'Userland/Libraries/LibCore/Version.h')
-rw-r--r-- | Userland/Libraries/LibCore/Version.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Userland/Libraries/LibCore/Version.h b/Userland/Libraries/LibCore/Version.h index 35f54ad0fd..9cda59f5ba 100644 --- a/Userland/Libraries/LibCore/Version.h +++ b/Userland/Libraries/LibCore/Version.h @@ -1,15 +1,16 @@ /* * Copyright (c) 2021, Mahmoud Mandour <ma.mandourr@gmail.com> + * Copyright (c) 2023, Andreas Kling <kling@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once -#include <AK/StringView.h> +#include <AK/Forward.h> namespace Core::Version { -DeprecatedString read_long_version_string(); +ErrorOr<String> read_long_version_string(); } |