1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-30 19:46:56 +00:00
transmission/gtk/IconCache.h
Mike Gelfand a89b181f2c
Include individual headers (GTK client) (#4477)
This results in up to 15% single-threaded build time reduction.
2022-12-27 01:43:20 +00:00

18 lines
424 B
C++

/*
* icons.[ch] written by Paolo Bacchilega, who writes:
* "There is no problem for me, you can license
* my code under whatever licence you wish :)"
*
*/
#pragma once
#include <giomm/icon.h>
#include <glibmm/refptr.h>
#include <string_view>
extern std::string_view const DirectoryMimeType;
extern std::string_view const UnknownMimeType;
Glib::RefPtr<Gio::Icon> gtr_get_mime_type_icon(std::string_view mime_type);