summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/CommonLocationsProvider.h
blob: 36d11302e0f0ab85dd69ec239de612d49c43b2bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * Copyright (c) 2021, Dex♪ <dexes.ttp@gmail.com>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <AK/DeprecatedString.h>
#include <AK/Forward.h>
#include <LibGUI/Forward.h>
#include <sys/types.h>

namespace GUI {

class CommonLocationsProvider {
public:
    struct CommonLocation {
        DeprecatedString name;
        DeprecatedString path;
    };

    static void load_from_json(DeprecatedString const& json_path);
    static Vector<CommonLocation> const& common_locations();
};

}