1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
2  *
3  * @file libnotify/internal.h Internal definitions
4  *
5  * @Copyright (C) 2006 Christian Hammond
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2.1 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with this library; if not, write to the
19  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20  * Boston, MA  02111-1307, USA.
21  */
22 #ifndef _LIBNOTIFY_INTERNAL_H_
23 #define _LIBNOTIFY_INTERNAL_H_
24 
25 #define NOTIFY_DBUS_NAME           "org.freedesktop.Notifications"
26 #define NOTIFY_DBUS_CORE_INTERFACE "org.freedesktop.Notifications"
27 #define NOTIFY_DBUS_CORE_OBJECT    "/org/freedesktop/Notifications"
28 
29 G_BEGIN_DECLS
30 
31 GDBusProxy      * _notify_get_proxy                         (GError **error);
32 
33 void            _notify_cache_add_notification              (NotifyNotification       *n);
34 void            _notify_cache_remove_notification           (NotifyNotification       *n);
35 gint            _notify_notification_get_timeout            (const NotifyNotification *n);
36 gboolean        _notify_notification_has_nondefault_actions (const NotifyNotification *n);
37 gboolean        _notify_check_spec_version                  (int major, int minor);
38 
39 G_END_DECLS
40 
41 #endif /* _LIBNOTIFY_INTERNAL_H_ */
42