rofi  1.6.1
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 <glib.h>
5 #include <stdint.h>
6 #include <cairo.h>
7 
19 void rofi_icon_fetcher_init ( void );
20 
24 void rofi_icon_fetcher_destroy ( void );
25 
37 uint32_t rofi_icon_fetcher_query ( const char *name, const int size );
38 
46 cairo_surface_t * rofi_icon_fetcher_get ( const uint32_t uid );
47 
48 gboolean rofi_icon_fetcher_file_is_image ( const char * const path );
50 #endif // ROFI_ICON_FETCHER_H
rofi_mode::name
char * name
Definition: mode-private.h:156
rofi_icon_fetcher_destroy
void rofi_icon_fetcher_destroy(void)
Definition: rofi-icon-fetcher.c:143
rofi_icon_fetcher_get
cairo_surface_t * rofi_icon_fetcher_get(const uint32_t uid)
Definition: rofi-icon-fetcher.c:360
rofi_icon_fetcher_query
uint32_t rofi_icon_fetcher_query(const char *name, const int size)
Definition: rofi-icon-fetcher.c:326
rofi_icon_fetcher_file_is_image
gboolean rofi_icon_fetcher_file_is_image(const char *const path)
Definition: rofi-icon-fetcher.c:254
rofi_icon_fetcher_init
void rofi_icon_fetcher_init(void)
Definition: rofi-icon-fetcher.c:109