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

}