~ubuntu-branches/debian/sid/sugar-toolkit-gtk3/sid

« back to all changes in this revision

Viewing changes to src/sugar3/xdgmimeparent.h

  • Committer: Package Import Robot
  • Author(s): Jonas Smedegaard
  • Date: 2015-04-17 10:34:39 UTC
  • mfrom: (4.1.4 experimental)
  • Revision ID: package-import@ubuntu.com-20150417103439-xsqh30o8p0v6bflp
Tags: 0.104.1-5
* Move packaging to Debian Sugar Team.
* Update package relations:
  + Fix depend on python-gi-cairo.
    Thanks to Martin Abente and James Cameron.
* Fix typo in libsugarext-dev short description.
  Closes: bug#747026. Thanks to Anders Jonsson.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- mode: C; c-file-style: "gnu" -*- */
2
 
/* xdgmimeparent.h: Private file.  Datastructure for storing the hierarchy.
3
 
 *
4
 
 * More info can be found at http://www.freedesktop.org/standards/
5
 
 *
6
 
 * Copyright (C) 2004  Red Hat, Inc.
7
 
 * Copyright (C) 200  Matthias Clasen <mclasen@redhat.com>
8
 
 *
9
 
 * Licensed under the Academic Free License version 2.0
10
 
 * Or under the following terms:
11
 
 *
12
 
 * This library is free software; you can redistribute it and/or
13
 
 * modify it under the terms of the GNU Lesser General Public
14
 
 * License as published by the Free Software Foundation; either
15
 
 * version 2 of the License, or (at your option) any later version.
16
 
 *
17
 
 * This library is distributed in the hope that it will be useful,
18
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
20
 
 * Lesser General Public License for more details.
21
 
 *
22
 
 * You should have received a copy of the GNU Lesser General Public
23
 
 * License along with this library; if not, write to the
24
 
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
25
 
 * Boston, MA 02111-1307, USA.
26
 
 */
27
 
 
28
 
#ifndef __XDG_MIME_PARENT_H__
29
 
#define __XDG_MIME_PARENT_H__
30
 
 
31
 
#include "xdgmime.h"
32
 
 
33
 
typedef struct XdgParentList XdgParentList;
34
 
 
35
 
#ifdef XDG_PREFIX
36
 
#define _xdg_mime_parent_read_from_file        XDG_ENTRY(parent_read_from_file)
37
 
#define _xdg_mime_parent_list_new              XDG_ENTRY(parent_list_new)
38
 
#define _xdg_mime_parent_list_free             XDG_ENTRY(parent_list_free)
39
 
#define _xdg_mime_parent_list_lookup           XDG_ENTRY(parent_list_lookup)
40
 
#endif
41
 
 
42
 
void          _xdg_mime_parent_read_from_file (XdgParentList *list,
43
 
                                               const char    *file_name);
44
 
XdgParentList *_xdg_mime_parent_list_new       (void);
45
 
void           _xdg_mime_parent_list_free      (XdgParentList *list);
46
 
const char   **_xdg_mime_parent_list_lookup    (XdgParentList *list,
47
 
                                                const char    *mime);
48
 
void           _xdg_mime_parent_list_dump      (XdgParentList *list);
49
 
 
50
 
#endif /* __XDG_MIME_PARENT_H__ */