summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/FileIconProvider.h
blob: 2bb36932ef025f943a7455003a7147eb41ad666a (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
28
29
30
31
/*
 * Copyright (c) 2020, Andreas Kling <kling@serenityos.org>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

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

namespace GUI {

class FileIconProvider {
public:
    static Icon icon_for_path(DeprecatedString const&, mode_t);
    static Icon icon_for_path(DeprecatedString const&);
    static Icon icon_for_executable(DeprecatedString const&);

    static Icon filetype_image_icon();
    static Icon directory_icon();
    static Icon directory_open_icon();
    static Icon home_directory_icon();
    static Icon home_directory_open_icon();
    static Icon git_directory_icon();
    static Icon git_directory_open_icon();
    static Icon desktop_directory_icon();
};

}