2
* Copyright (C) 2007-2011 Peter de Ridder <peter@xfce.org>
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19
#ifndef __TSH_NOTIFY_DIALOG_H__
20
#define __TSH_NOTIFY_DIALOG_H__
26
typedef struct _TshNotifyDialogClass TshNotifyDialogClass;
27
typedef struct _TshNotifyDialog TshNotifyDialog;
29
#define TSH_TYPE_NOTIFY_DIALOG (tsh_notify_dialog_get_type ())
30
#define TSH_NOTIFY_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TSH_TYPE_NOTIFY_DIALOG, TshNotifyDialog))
31
#define TSH_NOTIFY_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TSH_TYPE_NOTIFY_DIALOG, TshNotifyDialogClass))
32
#define TSH_IS_NOTIFY_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TSH_TYPE_NOTIFY_DIALOG))
33
#define TSH_IS_NOTIFY_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TSH_TYPE_NOTIFY_DIALOG))
34
#define TSH_NOTIFY_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TSH_TYPE_NOTIFY_DIALOG, TshNotifyDialogClass))
36
GType tsh_notify_dialog_get_type (void) G_GNUC_CONST G_GNUC_INTERNAL;
38
GtkWidget* tsh_notify_dialog_new (const gchar *title,
40
GtkDialogFlags flags) G_GNUC_MALLOC G_GNUC_INTERNAL;
42
void tsh_notify_dialog_add (TshNotifyDialog *dialog,
45
const char *mime_type);
46
void tsh_notify_dialog_done (TshNotifyDialog *dialog);
50
#endif /* !__TSH_NOTIFY_DIALOG_H__ */