udapted vi.po
[rhythmbox.git] / iradio / rb-new-station-dialog.h
blobaee048e1743ae029bdb879b2333f133f552668f1
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
3 * arch-tag: Header files for new station dialog
5 * Copyright (C) 2005 Renato Araujo Oliveira Filho <renato.filho@indt.org.br>
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
23 #include <gtk/gtkdialog.h>
24 #include "rb-entry-view.h"
26 #ifndef __RB_NEW_STATION_DIALOG_H
27 #define __RB_NEW_STATION_DIALOG_H
29 G_BEGIN_DECLS
31 #define RB_TYPE_NEW_STATION_DIALOG (rb_new_station_dialog_get_type ())
32 #define RB_NEW_STATION_DIALOG(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), RB_TYPE_NEW_STATION_DIALOG, RBNewStationDialog))
33 #define RB_NEW_STATION_DIALOG_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), RB_TYPE_NEW_STATION_DIALOG, RBNewStationDialogClass))
34 #define RB_IS_NEW_STATION_DIALOG(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), RB_TYPE_NEW_STATION_DIALOG))
35 #define RB_IS_NEW_STATION_DIALOG_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), RB_TYPE_NEW_STATION_DIALOG))
36 #define RB_NEW_STATION_DIALOG_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), RB_TYPE_NEW_STATION_DIALOG, RBNewStationDialogClass))
38 typedef struct RBNewStationDialogPrivate RBNewStationDialogPrivate;
40 typedef struct
42 GtkDialog parent;
44 RBNewStationDialogPrivate *priv;
45 } RBNewStationDialog;
47 typedef struct
49 GtkDialogClass parent_class;
51 void (*location_added) (RBNewStationDialog *dialog,
52 const char *uri);
53 } RBNewStationDialogClass;
55 GType rb_new_station_dialog_get_type (void);
56 GtkWidget* rb_new_station_dialog_new (RBEntryView *view);
58 G_END_DECLS
60 #endif /* __RB_NEW_STATION_DIALOG_H */