~ubuntu-branches/ubuntu/utopic/rhythmbox/utopic-proposed

« back to all changes in this revision

Viewing changes to sources/rb-library-source.h

Tags: upstream-0.9.2
ImportĀ upstreamĀ versionĀ 0.9.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#define __RB_LIBRARY_SOURCE_H
24
24
 
25
25
#include <gtk/gtkwindow.h>
 
26
#include <gtk/gtkactiongroup.h>
26
27
 
27
28
#include "rb-shell.h"
28
29
#include "rb-source.h"
37
38
#define RB_IS_LIBRARY_SOURCE_CLASS(k)  (G_TYPE_CHECK_CLASS_TYPE ((k), RB_TYPE_LIBRARY_SOURCE))
38
39
#define RB_LIBRARY_SOURCE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), RB_TYPE_LIBRARY_SOURCE, RBLibrarySourceClass))
39
40
 
 
41
 
40
42
typedef struct RBLibrarySourcePrivate RBLibrarySourcePrivate;
41
43
 
42
44
typedef struct
49
51
typedef struct
50
52
{
51
53
        RBSourceClass parent;
 
54
 
 
55
        const char *    (*impl_get_paned_key)           (RBLibrarySource *source);
 
56
        gboolean        (*impl_has_first_added_column)  (RBLibrarySource *source);
 
57
        gboolean        (*impl_has_drop_support)        (RBLibrarySource *source);
52
58
} RBLibrarySourceClass;
53
59
 
54
 
GType           rb_library_source_get_type      (void);
55
 
 
56
 
RBSource *      rb_library_source_new           (RBShell *shell, RhythmDB *db, 
57
 
                                                 BonoboUIComponent *component);
58
 
 
59
 
 
60
 
void            rb_library_source_show_browser  (RBLibrarySource *source,
61
 
                                                 gboolean show);
62
 
 
63
 
void            rb_library_source_add_location  (RBLibrarySource *source, GtkWindow *win);
64
 
void            rb_library_source_class_add_verbs (RBShell *shell, 
65
 
                                                   BonoboUIComponent *component);
 
60
typedef gboolean (*RBLibrarySourceFeatureFunc) (RBLibrarySource *source);
 
61
 
 
62
GType           rb_library_source_get_type              (void);
 
63
 
 
64
RBSource *      rb_library_source_new                   (RBShell *shell);
 
65
 
 
66
void            rb_library_source_add_location          (RBLibrarySource *source, GtkWindow *win);
 
67
 
 
68
void            rb_library_source_class_add_actions     (RBShell *shell, 
 
69
                                                        GtkActionGroup *uimgr);
 
70
 
 
71
const char *    rb_library_source_get_paned_key         (RBLibrarySource *source);
 
72
gboolean        rb_library_source_has_first_added_column (RBLibrarySource *source);
 
73
gboolean        rb_library_source_has_drop_support      (RBLibrarySource *source);
 
74
 
66
75
 
67
76
G_END_DECLS
68
77