rofi  1.7.3
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
rofi_mode::name
char * name
Definition: mode-private.h:163
rofi_icon_fetcher_destroy
void rofi_icon_fetcher_destroy(void)
Definition: rofi-icon-fetcher.c:147
rofi_icon_fetcher_get
cairo_surface_t * rofi_icon_fetcher_get(const uint32_t uid)
Definition: rofi-icon-fetcher.c:415
rofi_icon_fetcher_query
uint32_t rofi_icon_fetcher_query(const char *name, const int size)
Definition: rofi-icon-fetcher.c:378
rofi_icon_fetcher_query_advanced
uint32_t rofi_icon_fetcher_query_advanced(const char *name, const int wsize, const int hsize)
Definition: rofi-icon-fetcher.c:341
rofi_icon_fetcher_file_is_image
gboolean rofi_icon_fetcher_file_is_image(const char *const path)
Definition: rofi-icon-fetcher.c:263
rofi_icon_fetcher_init
void rofi_icon_fetcher_init(void)
Definition: rofi-icon-fetcher.c:109