~ubuntu-branches/ubuntu/oneiric/rhythmbox/oneiric

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2006-06-26 19:06:10 UTC
  • mto: (2.1.1 lenny) (1.1.37 upstream)
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20060626190610-08x8lgvvfs0gr619
Tags: upstream-0.9.5
ImportĀ upstreamĀ versionĀ 0.9.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 *
16
16
 *  You should have received a copy of the GNU General Public License
17
17
 *  along with this program; if not, write to the Free Software
18
 
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA.
19
19
 *
20
20
 */
21
21
 
26
26
#include <gtk/gtkactiongroup.h>
27
27
 
28
28
#include "rb-shell.h"
29
 
#include "rb-source.h"
 
29
#include "rb-browser-source.h"
30
30
#include "rhythmdb.h"
31
31
 
32
32
G_BEGIN_DECLS
43
43
 
44
44
typedef struct
45
45
{
46
 
        RBSource parent;
 
46
        RBBrowserSource parent;
47
47
 
48
48
        RBLibrarySourcePrivate *priv;
49
49
} RBLibrarySource;
50
50
 
51
51
typedef struct
52
52
{
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);
 
53
        RBBrowserSourceClass parent;
58
54
} RBLibrarySourceClass;
59
55
 
60
 
typedef gboolean (*RBLibrarySourceFeatureFunc) (RBLibrarySource *source);
61
 
 
62
56
GType           rb_library_source_get_type              (void);
63
57
 
64
58
RBSource *      rb_library_source_new                   (RBShell *shell);
65
59
 
66
60
void            rb_library_source_add_location          (RBLibrarySource *source, GtkWindow *win);
67
61
 
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
 
 
75
62
 
76
63
G_END_DECLS
77
64