summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/CommonLocationsProvider.h
blob: b5d3faff591a82beca6a39210eacb72c7fce8f4d (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
/*
 * Copyright (c) 2021, Dex♪ <dexes.ttp@gmail.com>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

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

namespace GUI {

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

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

}