Replace strcmp() with purple_strequal()
[pidgin-git.git] / pidgin / gtknotify.h
blobb5973a4995eaca984296242116a51bfd0f3abc82
1 /**
2 * @file gtknotify.h GTK+ Notification API
3 * @ingroup pidgin
4 */
6 /* pidgin
8 * Pidgin is the legal property of its developers, whose names are too numerous
9 * to list here. Please refer to the COPYRIGHT file distributed with this
10 * source distribution.
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
26 #ifndef _PIDGINNOTIFY_H_
27 #define _PIDGINNOTIFY_H_
29 #include "notify.h"
30 #include "pounce.h"
32 /**
33 * Adds a buddy pounce to the buddy pounce dialog
35 * @param account The account
36 * @param pounce The pounce
37 * @param alias The buddy alias
38 * @param event Event description
39 * @param message Pounce message
40 * @param date Pounce date
42 void pidgin_notify_pounce_add(PurpleAccount *account, PurplePounce *pounce,
43 const char *alias, const char *event, const char *message, const char *date);
45 /**
46 * Returns the UI operations structure for GTK+ notification functions.
48 * @return The GTK+ UI notify operations structure.
50 PurpleNotifyUiOps *pidgin_notify_get_ui_ops(void);
52 /**
53 * Initializes the GTK+ notifications subsystem.
55 void pidgin_notify_init(void);
57 /**
58 * Uninitialized the GTK+ notifications subsystem.
60 void pidgin_notify_uninit(void);
62 #endif /* _PIDGINNOTIFY_H_ */