rofi  1.7.0
rofi-icon-fetcher.h
Go to the documentation of this file.
1 #ifndef ROFI_ICON_FETCHER_H
2 #define ROFI_ICON_FETCHER_H
3 
4 #include <cairo.h>
5 #include <glib.h>
6 #include <stdint.h>
7 
19 void rofi_icon_fetcher_init(void);
20 
24 void rofi_icon_fetcher_destroy(void);
25 
38 uint32_t rofi_icon_fetcher_query(const char *name, const int size);
39 
54 uint32_t rofi_icon_fetcher_query_advanced(const char *name, const int wsize,
55  const int hsize);
56 
64 cairo_surface_t *rofi_icon_fetcher_get(const uint32_t uid);
65 
73 gboolean rofi_icon_fetcher_file_is_image(const char *const path);
75 #endif // ROFI_ICON_FETCHER_H
uint32_t rofi_icon_fetcher_query_advanced(const char *name, const int wsize, const int hsize)
gboolean rofi_icon_fetcher_file_is_image(const char *const path)
void rofi_icon_fetcher_destroy(void)
cairo_surface_t * rofi_icon_fetcher_get(const uint32_t uid)
uint32_t rofi_icon_fetcher_query(const char *name, const int size)
void rofi_icon_fetcher_init(void)