summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/CommonLocationsProvider.h
blob: 0de400a83efb6bc03cdc0b91235f450a90cc1454 (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/Forward.h>
#include <AK/String.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(String const& json_path);
    static Vector<CommonLocation> const& common_locations();
};

}