~ubuntu-branches/debian/experimental/thunar/experimental

« back to all changes in this revision

Viewing changes to thunar-vfs/thunar-vfs-mime-sniffer.h

  • Committer: Bazaar Package Importer
  • Author(s): Yves-Alexis Perez
  • Date: 2006-01-02 23:42:32 UTC
  • Revision ID: james.westby@ubuntu.com-20060102234232-8xeq0lqhyn70syr0
Tags: upstream-0.1.4svn+r18850
ImportĀ upstreamĀ versionĀ 0.1.4svn+r18850

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $Id: thunar-vfs-mime-sniffer.h 18843 2005-11-14 14:25:58Z benny $ */
 
2
/*-
 
3
 * Copyright (c) 2005 Benedikt Meurer <benny@xfce.org>
 
4
 *
 
5
 * This library is free software; you can redistribute it and/or
 
6
 * modify it under the terms of the GNU Library General Public
 
7
 * License as published by the Free Software Foundation; either
 
8
 * version 2 of the License, or (at your option) any later version.
 
9
 *
 
10
 * This library is distributed in the hope that it will be useful,
 
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
13
 * Library General Public License for more details.
 
14
 *
 
15
 * You should have received a copy of the GNU Library General Public
 
16
 * License along with this library; if not, write to the
 
17
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 
18
 * Boston, MA 02111-1307, USA.
 
19
 */
 
20
 
 
21
#if !defined (THUNAR_VFS_INSIDE_THUNAR_VFS_H) && !defined (THUNAR_VFS_COMPILATION)
 
22
#error "Only <thunar-vfs/thunar-vfs.h> can be included directly, this file may disappear or change contents."
 
23
#endif
 
24
 
 
25
#ifndef __THUNAR_VFS_MIME_SNIFFER_H__
 
26
#define __THUNAR_VFS_MIME_SNIFFER_H__
 
27
 
 
28
#include <glib.h>
 
29
 
 
30
G_BEGIN_DECLS;
 
31
 
 
32
gboolean thunar_vfs_mime_sniffer_looks_like_text (const gchar *data,
 
33
                                                  gsize        length) G_GNUC_INTERNAL;
 
34
 
 
35
G_END_DECLS;
 
36
 
 
37
#endif /* !__THUNAR_VFS_MIME_SNIFFER_H__ */