~ubuntu-branches/ubuntu/saucy/parole/saucy

« back to all changes in this revision

Viewing changes to src/misc/parole-pl-parser.h

  • Committer: Package Import Robot
  • Author(s): Lionel Le Folgoc
  • Date: 2012-08-15 13:56:10 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20120815135610-xkgrhm52dq81czhe
Tags: 0.3.0-0ubuntu1
* New upstream release.
* debian/patches:
  - 01_fix-implicit-dso-linking.patch: dropped, included upstream.
  - 01_fix-plugin-install-dir.patch, 02_fix-ftbfs-enable-debug.patch,
    03_fix-ftbfs-built-twice.patch: added, fix wrong install path and build
    failures.
* debian/control:
  - replace b-dep on libxfcegui4-dev with libxfce4ui-1-dev and bump
    libgtk2.0-dev to >= 2.20.
* debian/rules:
  - create empty m4 directory if missing.
  - clean up autogenerated files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * * Copyright (C) 2009-2011 Ali <aliov@xfce.org>
 
3
 *
 
4
 * Licensed under the GNU General Public License Version 2
 
5
 *
 
6
 * This program is free software; you can redistribute it and/or modify
 
7
 * it under the terms of the GNU General Public License as published by
 
8
 * the Free Software Foundation; either version 2 of the License, or
 
9
 * (at your option) any later version.
 
10
 *
 
11
 * This program is distributed in the hope that it will be useful,
 
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
 * GNU General Public License for more details.
 
15
 *
 
16
 * You should have received a copy of the GNU General Public License
 
17
 * along with this program; if not, write to the Free Software
 
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 
19
 */
 
20
 
 
21
#if !defined (__PAROLE_H_INSIDE__) && !defined (PAROLE_COMPILATION)
 
22
#error "Only <parole.h> can be included directly."
 
23
#endif
 
24
 
 
25
#ifndef __PAROLE_PL_PARSER_H
 
26
#define __PAROLE_PL_PARSER_H
 
27
 
 
28
#include <glib.h>
 
29
 
 
30
G_BEGIN_DECLS
 
31
 
 
32
typedef enum
 
33
{
 
34
    PAROLE_PL_FORMAT_UNKNOWN,
 
35
    PAROLE_PL_FORMAT_M3U,
 
36
    PAROLE_PL_FORMAT_PLS,
 
37
    PAROLE_PL_FORMAT_ASX,
 
38
    PAROLE_PL_FORMAT_XSPF
 
39
    
 
40
} ParolePlFormat;
 
41
 
 
42
ParolePlFormat           parole_pl_parser_guess_format_from_extension           (const gchar *filename);
 
43
 
 
44
ParolePlFormat           parole_pl_parser_guess_format_from_data                (const gchar *filename);
 
45
 
 
46
gboolean                 parole_pl_parser_can_parse_data                        (const guchar *data, gint len);
 
47
 
 
48
GSList                  *parole_pl_parser_parse_from_file_by_extension          (const gchar *filename);
 
49
 
 
50
GSList                   *parole_pl_parser_parse_all_from_file                  (const gchar *filename);
 
51
 
 
52
gboolean                 parole_pl_parser_save_from_files                       (GSList *files,
 
53
                                                                                 const gchar *filename,
 
54
                                                                                 ParolePlFormat format);
 
55
 
 
56
G_END_DECLS
 
57
 
 
58
#endif /* __PAROLE_PL_PARSER_H */