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

« back to all changes in this revision

Viewing changes to parole/parole-provider-plugin.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_PROVIDER_PLUGIN_H__
26
 
#define __PAROLE_PROVIDER_PLUGIN_H__
27
 
 
28
 
#include <gtk/gtk.h>
29
 
#include <parole/parole-stream.h>
30
 
#include <parole/parole-provider-player.h>
31
 
 
32
 
G_BEGIN_DECLS 
33
 
 
34
 
#define PAROLE_TYPE_PROVIDER_PLUGIN                (parole_provider_plugin_get_type ())
35
 
#define PAROLE_PROVIDER_PLUGIN(o)                  (G_TYPE_CHECK_INSTANCE_CAST ((o), PAROLE_TYPE_PROVIDER_PLUGIN, ParoleProviderPlugin))
36
 
#define PAROLE_IS_PROVIDER_PLUGIN(o)               (G_TYPE_CHECK_INSTANCE_TYPE ((o), PAROLE_TYPE_PROVIDER_PLUGIN))
37
 
#define PAROLE_PROVIDER_PLUGIN_GET_INTERFACE(o)    (G_TYPE_INSTANCE_GET_INTERFACE((o), PAROLE_TYPE_PROVIDER_PLUGIN, ParoleProviderPluginIface))
38
 
 
39
 
typedef struct _ParoleProviderPluginIface ParoleProviderPluginIface;
40
 
typedef struct _ParoleProviderPlugin      ParoleProviderPlugin;
41
 
 
42
 
struct _ParoleProviderPluginIface 
43
 
{
44
 
    GTypeInterface      __parent__;
45
 
    
46
 
    /*< public >*/
47
 
    gboolean             (*get_is_configurable)                 (ParoleProviderPlugin *provider);
48
 
    
49
 
    void                 (*configure)                           (ParoleProviderPlugin *provider,
50
 
                                                                 GtkWidget *parent);
51
 
                                                                 
52
 
    void                 (*set_player)                          (ParoleProviderPlugin *provider,
53
 
                                                                 ParoleProviderPlayer *player);
54
 
};
55
 
 
56
 
GType                    parole_provider_plugin_get_type        (void) G_GNUC_CONST;
57
 
 
58
 
gboolean                 parole_provider_plugin_get_is_configurable (ParoleProviderPlugin *provider);
59
 
 
60
 
void                     parole_provider_plugin_configure       (ParoleProviderPlugin *provider,
61
 
                                                                 GtkWidget *parent);
62
 
                                                                 
63
 
void                     parole_provider_plugin_set_player      (ParoleProviderPlugin *provider,
64
 
                                                                 ParoleProviderPlayer *player);
65
 
G_END_DECLS
66
 
 
67
 
#endif /* __PAROLE_PLUGIN_IFACE_H__ */