Serenity Operating System
at master 27 lines 512 B view raw
1/* 2 * Copyright (c) 2021, Dex♪ <dexes.ttp@gmail.com> 3 * 4 * SPDX-License-Identifier: BSD-2-Clause 5 */ 6 7#pragma once 8 9#include <AK/DeprecatedString.h> 10#include <AK/Forward.h> 11#include <LibGUI/Forward.h> 12#include <sys/types.h> 13 14namespace GUI { 15 16class CommonLocationsProvider { 17public: 18 struct CommonLocation { 19 DeprecatedString name; 20 DeprecatedString path; 21 }; 22 23 static ErrorOr<void> load_from_json(StringView json_path); 24 static Vector<CommonLocation> const& common_locations(); 25}; 26 27}