summaryrefslogtreecommitdiff
path: root/src/applet-notifications.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@src.gnome.org>2007-02-02 15:37:33 +0000
committerDan Williams <dcbw@src.gnome.org>2007-02-02 15:37:33 +0000
commite65c12da5f0b2d2c3531d790953b5d288c03b4a7 (patch)
tree00a40a3349056ce9cd13fe48cb64d04615d8c814 /src/applet-notifications.h
downloadnetwork-manager-applet-e65c12da5f0b2d2c3531d790953b5d288c03b4a7.tar.gz
Initial import of nm-applet from NETWORKMANAGER_0_6_0_RELEASE branch of NM svn
svn path=/trunk/; revision=2
Diffstat (limited to 'src/applet-notifications.h')
-rw-r--r--src/applet-notifications.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/applet-notifications.h b/src/applet-notifications.h
new file mode 100644
index 00000000..a4050310
--- /dev/null
+++ b/src/applet-notifications.h
@@ -0,0 +1,41 @@
+/* NetworkManager -- Network link manager
+ *
+ * Christopher Aillon <caillon@redhat.com>
+ *
+ * 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.
+ *
+ * (C) Copyright 2005 Red Hat, Inc.
+ */
+
+#ifndef NM_NOTIFICATION_H__
+#define NM_NOTIFICATION_H__
+
+#include "config.h"
+
+#ifdef ENABLE_NOTIFY
+
+#include <libnotify/notify.h>
+#include "applet.h"
+
+void
+nma_send_event_notification (NMApplet *applet,
+ NotifyUrgency urgency,
+ const char *summary,
+ const char *message,
+ const char *icon);
+
+#endif /* ENABLE_NOTIFY */
+
+#endif /* NM_NOTIFICATION_H__ */