udapted vi.po
[rhythmbox.git] / widgets / rb-song-info.h
blobe70146b40d8ef980ae3641ed97aa98a22aa0a1ff
1 /*
2 * arch-tag: Header for local song properties dialog
4 * Copyright (C) 2002 Olivier Martin <omartin@ifrance.com>
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.
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.
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 St, Fifth Floor, Boston, MA 02110-1301 USA.
22 #include <gtk/gtkdialog.h>
23 #include "rb-entry-view.h"
24 #include "rhythmdb.h"
25 #include "rb-source.h"
27 #ifndef __RB_SONG_INFO_H
28 #define __RB_SONG_INFO_H
30 G_BEGIN_DECLS
32 #define RB_TYPE_SONG_INFO (rb_song_info_get_type ())
33 #define RB_SONG_INFO(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), RB_TYPE_SONG_INFO, RBSongInfo))
34 #define RB_SONG_INFO_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), RB_TYPE_SONG_INFO, RBSongInfoClass))
35 #define RB_IS_SONG_INFO(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), RB_TYPE_SONG_INFO))
36 #define RB_IS_SONG_INFO_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), RB_TYPE_SONG_INFO))
37 #define RB_SONG_INFO_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), RB_TYPE_SONG_INFO, RBSongInfoClass))
39 typedef struct RBSongInfoPrivate RBSongInfoPrivate;
41 typedef struct
43 GtkDialog parent;
45 RBSongInfoPrivate *priv;
46 } RBSongInfo;
48 typedef struct
50 GtkDialogClass parent_class;
52 void (*pre_metadata_change) (RBSongInfo *info, RhythmDBEntry *entry);
53 void (*post_metadata_change) (RBSongInfo *info, RhythmDBEntry *entry);
54 } RBSongInfoClass;
56 GType rb_song_info_get_type (void);
58 GtkWidget *rb_song_info_new (RBSource *source, RBEntryView *entry_view);
60 guint rb_song_info_append_page (RBSongInfo *info, const char *title, GtkWidget *page);
62 G_END_DECLS
64 #endif /* __RB_SONG_INFO_H */