nexmon – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 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 | * |
||
8 | * Licensed under the Academic Free License version 2.0 |
||
9 | * Or under the following terms: |
||
10 | * |
||
11 | * This library is free software; you can redistribute it and/or |
||
12 | * modify it under the terms of the GNU Lesser General Public |
||
13 | * License as published by the Free Software Foundation; either |
||
14 | * version 2 of the License, or (at your option) any later version. |
||
15 | * |
||
16 | * This library is distributed in the hope that it will be useful, |
||
17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
||
19 | * Lesser General Public License for more details. |
||
20 | * |
||
21 | * You should have received a copy of the GNU Lesser General Public |
||
22 | * License along with this library; if not, see <http://www.gnu.org/licenses/>. |
||
23 | */ |
||
24 | |||
25 | #ifndef __XDG_MIME_ICON_H__ |
||
26 | #define __XDG_MIME_ICON_H__ |
||
27 | |||
28 | #include "xdgmime.h" |
||
29 | |||
30 | typedef struct XdgIconList XdgIconList; |
||
31 | |||
32 | #ifdef XDG_PREFIX |
||
33 | #define _xdg_mime_icon_read_from_file XDG_ENTRY(icon_read_from_file) |
||
34 | #define _xdg_mime_icon_list_new XDG_ENTRY(icon_list_new) |
||
35 | #define _xdg_mime_icon_list_free XDG_ENTRY(icon_list_free) |
||
36 | #define _xdg_mime_icon_list_lookup XDG_ENTRY(icon_list_lookup) |
||
37 | #define _xdg_mime_icon_list_dump XDG_ENTRY(icon_list_dump) |
||
38 | #endif |
||
39 | |||
40 | void _xdg_mime_icon_read_from_file (XdgIconList *list, |
||
41 | const char *file_name); |
||
42 | XdgIconList *_xdg_mime_icon_list_new (void); |
||
43 | void _xdg_mime_icon_list_free (XdgIconList *list); |
||
44 | const char *_xdg_mime_icon_list_lookup (XdgIconList *list, |
||
45 | const char *mime); |
||
46 | #ifdef NOT_USED_IN_GIO |
||
47 | void _xdg_mime_icon_list_dump (XdgIconList *list); |
||
48 | #endif |
||
49 | |||
50 | #endif /* __XDG_MIME_ICON_H__ */ |