1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
/* nautilus-notification-manager.h
*
* Copyright (C) 2015 Carlos Soriano <csoriano@gnome.org>
*
* 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 3 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, see <http://www.gnu.org/licenses/>.
*/
#ifndef NAUTILUS_NOTIFICATION_MANAGER_H
#define NAUTILUS_NOTIFICATION_MANAGER_H
#include <libgd/gd.h>
G_BEGIN_DECLS
#define NAUTILUS_TYPE_NOTIFICATION_MANAGER (nautilus_notification_manager_get_type())
#define NAUTILUS_NOTIFICATION_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NAUTILUS_TYPE_NOTIFICATION_MANAGER, NautilusNotificationManager))
#define NAUTILUS_NOTIFICATION_MANAGER_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NAUTILUS_TYPE_NOTIFICATION_MANAGER, NautilusNotificationManager const))
#define NAUTILUS_NOTIFICATION_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), NAUTILUS_TYPE_NOTIFICATION_MANAGER, NautilusNotificationManagerClass))
#define NAUTILUS_IS_NOTIFICATION_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NAUTILUS_TYPE_NOTIFICATION_MANAGER))
#define NAUTILUS_IS_NOTIFICATION_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), NAUTILUS_TYPE_NOTIFICATION_MANAGER))
#define NAUTILUS_NOTIFICATION_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), NAUTILUS_TYPE_NOTIFICATION_MANAGER, NautilusNotificationManagerClass))
typedef struct _NautilusNotificationManager NautilusNotificationManager;
typedef struct _NautilusNotificationManagerClass NautilusNotificationManagerClass;
typedef struct _NautilusNotificationManagerPrivate NautilusNotificationManagerPrivate;
struct _NautilusNotificationManager
{
GdNotification parent;
/*< private >*/
NautilusNotificationManagerPrivate *priv;
};
struct _NautilusNotificationManagerClass
{
GdNotificationClass parent;
};
GType nautilus_notification_manager_get_type (void);
NautilusNotificationManager *nautilus_notification_manager_new (void);
void nautilus_notification_manager_add_notification (NautilusNotificationManager *self,
GtkWidget *notification);
G_END_DECLS
#endif /* NAUTILUS_NOTIFICATION_MANAGER_H */
|