#include <stdlib.h>
#include <glib-object.h>
#include <glib.h>
#include "connection.h"
Include dependency graph for notify.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures | |
struct | GaimNotifyUiOps |
Notification UI operations. More... | |
Notification API | |
#define | gaim_notify_info(handle, title, primary, secondary) |
A wrapper for gaim_notify_message that displays an information message. | |
#define | gaim_notify_warning(handle, title, primary, secondary) |
A wrapper for gaim_notify_message that displays a warning message. | |
#define | gaim_notify_error(handle, title, primary, secondary) |
A wrapper for gaim_notify_message that displays an error message. | |
void * | gaim_notify_message (void *handle, GaimNotifyMsgType type, const char *title, const char *primary, const char *secondary, GCallback cb, void *user_data) |
Displays a notification message to the user. | |
void * | gaim_notify_email (void *handle, const char *subject, const char *from, const char *to, const char *url, GCallback cb, void *user_data) |
Displays a single e-mail notification to the user. | |
void * | gaim_notify_emails (void *handle, size_t count, gboolean detailed, const char **subjects, const char **froms, const char **tos, const char **urls, GCallback cb, void *user_data) |
Displays a notification for multiple e-mails to the user. | |
void * | gaim_notify_formatted (void *handle, const char *title, const char *primary, const char *secondary, const char *text, GCallback cb, void *user_data) |
Displays a notification with formatted text. | |
void * | gaim_notify_userinfo (GaimConnection *gc, const char *who, const char *title, const char *primary, const char *secondary, const char *text, GCallback cb, void *user_data) |
Displays user information with formatted text, passing information giving the connection and username from which the user information came. | |
void * | gaim_notify_uri (void *handle, const char *uri) |
Opens a URI or somehow presents it to the user. | |
void | gaim_notify_close (GaimNotifyType type, void *ui_handle) |
Closes a notification. | |
void | gaim_notify_close_with_handle (void *handle) |
Closes all notifications registered with the specified handle. | |
UI Operations API | |
void | gaim_notify_set_ui_ops (GaimNotifyUiOps *ops) |
Sets the UI operations structure to be used when displaying a notification. | |
GaimNotifyUiOps * | gaim_notify_get_ui_ops (void) |
Returns the UI operations structure to be used when displaying a notification. | |
Enumerations | |
enum | GaimNotifyType { GAIM_NOTIFY_MESSAGE = 0, GAIM_NOTIFY_EMAIL, GAIM_NOTIFY_EMAILS, GAIM_NOTIFY_FORMATTED, GAIM_NOTIFY_USERINFO, GAIM_NOTIFY_URI } |
Notification types. More... | |
enum | GaimNotifyMsgType { GAIM_NOTIFY_MSG_ERROR = 0, GAIM_NOTIFY_MSG_WARNING, GAIM_NOTIFY_MSG_INFO } |
Notification message types. More... |
gaim
Gaim is the legal property of its developers, whose names are too numerous to list here. Please refer to the COPYRIGHT file distributed with this source distribution.
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
|
Value: gaim_notify_message((handle), GAIM_NOTIFY_MSG_ERROR, (title), \ (primary), (secondary), NULL, NULL)
|
|
Value: gaim_notify_message((handle), GAIM_NOTIFY_MSG_INFO, (title), \ (primary), (secondary), NULL, NULL)
|
|
Value: gaim_notify_message((handle), GAIM_NOTIFY_MSG_WARNING, (title), \ (primary), (secondary), NULL, NULL)
|
|
Notification message types.
|
|
Notification types.
|
|
Closes a notification. This should be used only by the UI operation functions and part of the core.
|
|
Closes all notifications registered with the specified handle.
|
|
Displays a single e-mail notification to the user.
|
|
Displays a notification for multiple e-mails to the user.
|
|
Displays a notification with formatted text. The text is essentially a stripped-down format of HTML, the same that IMs may send.
|
|
Returns the UI operations structure to be used when displaying a notification.
|
|
Displays a notification message to the user.
|
|
Sets the UI operations structure to be used when displaying a notification.
|
|
Opens a URI or somehow presents it to the user.
|
|
Displays user information with formatted text, passing information giving the connection and username from which the user information came. The text is essentially a stripped-down format of HTML, the same that IMs may send.
|