~ubuntu-branches/ubuntu/trusty/parole/trusty-proposed

« back to all changes in this revision

Viewing changes to src/parole-mediachooser.h

  • Committer: Bazaar Package Importer
  • Author(s): Yves-Alexis Perez
  • Date: 2010-04-28 21:42:11 UTC
  • Revision ID: james.westby@ubuntu.com-20100428214211-i7olyr9ch8tnpnaf
Tags: upstream-0.2.0.2
ImportĀ upstreamĀ versionĀ 0.2.0.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * * Copyright (C) 2009 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
#ifndef __PAROLE_MEDIA_CHOOSER_H
 
22
#define __PAROLE_MEDIA_CHOOSER_H
 
23
 
 
24
#include <glib-object.h>
 
25
#include <gtk/gtk.h>
 
26
 
 
27
G_BEGIN_DECLS
 
28
 
 
29
#define PAROLE_TYPE_MEDIA_CHOOSER        (parole_media_chooser_get_type () )
 
30
#define PAROLE_MEDIA_CHOOSER(o)          (G_TYPE_CHECK_INSTANCE_CAST ((o), PAROLE_TYPE_MEDIA_CHOOSER, ParoleMediaChooser))
 
31
#define PAROLE_IS_MEDIA_CHOOSER(o)       (G_TYPE_CHECK_INSTANCE_TYPE ((o), PAROLE_TYPE_MEDIA_CHOOSER))
 
32
 
 
33
typedef struct ParoleMediaChooserPrivate ParoleMediaChooserPrivate;
 
34
 
 
35
typedef struct
 
36
{
 
37
    GtkDialog                    parent;
 
38
    
 
39
} ParoleMediaChooser;
 
40
 
 
41
typedef struct
 
42
{
 
43
    GtkDialogClass               parent_class;
 
44
    
 
45
    void                         (*media_files_opened)              (ParoleMediaChooser *chooser,
 
46
                                                                     gboolean play,
 
47
                                                                     gboolean replace,
 
48
                                                                     GSList *list);
 
49
                                                                     
 
50
} ParoleMediaChooserClass;
 
51
 
 
52
GType                            parole_media_chooser_get_type      (void) G_GNUC_CONST;
 
53
 
 
54
GtkWidget                       *parole_media_chooser_open_local    (GtkWidget *parent);
 
55
                                                                     
 
56
G_END_DECLS
 
57
 
 
58
#endif /* __PAROLE_MEDIA_CHOOSER_H */