]>
Commit | Line | Data |
---|---|---|
cf31d981 SI |
1 | /* -*- mode: C; c-file-style: "gnu" -*- */ |
2 | /* xdgmimeicon.h: Private file. Datastructure for storing the aliases. | |
3 | * | |
4 | * More info can be found at http://www.freedesktop.org/standards/ | |
5 | * | |
6 | * Copyright (C) 2008 Red Hat, Inc. | |
7 | * | |
73d5a30a | 8 | * SPDX-License-Identifier: LGPL-2.1-or-later or AFL-2.0 |
cf31d981 SI |
9 | */ |
10 | ||
11 | #ifndef __XDG_MIME_ICON_H__ | |
12 | #define __XDG_MIME_ICON_H__ | |
13 | ||
14 | #include "xdgmime.h" | |
15 | ||
16 | typedef struct XdgIconList XdgIconList; | |
17 | ||
18 | #ifdef XDG_PREFIX | |
19 | #define _xdg_mime_icon_read_from_file XDG_ENTRY(icon_read_from_file) | |
20 | #define _xdg_mime_icon_list_new XDG_ENTRY(icon_list_new) | |
21 | #define _xdg_mime_icon_list_free XDG_ENTRY(icon_list_free) | |
22 | #define _xdg_mime_icon_list_lookup XDG_ENTRY(icon_list_lookup) | |
23 | #define _xdg_mime_icon_list_dump XDG_ENTRY(icon_list_dump) | |
24 | #endif | |
25 | ||
26 | void _xdg_mime_icon_read_from_file (XdgIconList *list, | |
27 | const char *file_name); | |
28 | XdgIconList *_xdg_mime_icon_list_new (void); | |
29 | void _xdg_mime_icon_list_free (XdgIconList *list); | |
30 | const char *_xdg_mime_icon_list_lookup (XdgIconList *list, | |
31 | const char *mime); | |
32 | void _xdg_mime_icon_list_dump (XdgIconList *list); | |
33 | ||
34 | #endif /* __XDG_MIME_ICON_H__ */ |