aboutsummaryrefslogtreecommitdiff
path: root/src/notificationwindow.h
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2013-02-08 06:24:28 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2013-02-08 06:24:28 +0000
commit6224779aca608fd457f1cb0d24ff516afe72694d (patch)
treed649345a1cf7b464e43cabc52f6a7bc613049c51 /src/notificationwindow.h
parent90f27721aa04778bfc238f1af95462c206aa6ce4 (diff)
implemented new message notification popup window.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3211 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/notificationwindow.h')
-rw-r--r--src/notificationwindow.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/notificationwindow.h b/src/notificationwindow.h
new file mode 100644
index 00000000..d724af27
--- /dev/null
+++ b/src/notificationwindow.h
@@ -0,0 +1,35 @@
+/*
+ * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
+ * Copyright (C) 1999-2013 Hiroyuki Yamamoto
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __NOTIFICATIONWINDOW_H__
+#define __NOTIFICATIONWINDOW_H__
+
+#include <glib.h>
+#include <gtk/gtk.h>
+
+typedef struct _NotificationWindow NotificationWindow;
+
+gint notification_window_create (const gchar *message,
+ const gchar *submessage,
+ guint timeout);
+void notification_window_set_message (const gchar *message,
+ const gchar *submessage);
+void notification_window_close (void);
+
+#endif /* __NOTIFICATIONWINDOW_H__ */