1/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
2 *
3 * Copyright (C) 2004-2006 Christian Hammond
4 * Copyright (C) 2010 Red Hat, Inc.
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the
18 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 * Boston, MA 02111-1307, USA.
20 */
21
22#ifndef _LIBNOTIFY_NOTIFY_H_
23#define _LIBNOTIFY_NOTIFY_H_
24
25#include <glib.h>
26
27#include <libnotify/notification.h>
28#include <libnotify/notify-enum-types.h>
29#include <libnotify/notify-features.h>
30
31G_BEGIN_DECLS
32
33gboolean notify_init (const char *app_name);
34void notify_uninit (void);
35gboolean notify_is_initted (void);
36
37const char *notify_get_app_name (void);
38void notify_set_app_name (const char *app_name);
39
40GList *notify_get_server_caps (void);
41
42gboolean notify_get_server_info (char **ret_name,
43 char **ret_vendor,
44 char **ret_version,
45 char **ret_spec_version);
46
47G_END_DECLS
48
49#endif /* _LIBNOTIFY_NOTIFY_H_ */
50