ladybird/Userland/Libraries/LibGUI/FileIconProvider.h

32 lines
733 B
C++

/*
* 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(StringView, mode_t);
static Icon icon_for_path(StringView);
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();
};
}