25392b3d046b7369c0b02aa5f7e5d45c0d52b189
[claws.git] / src / plugins / notification / notification_pixbuf.h
1 /* Notification plugin for Claws-Mail
2  * Copyright (C) 2005-2007 Holger Berndt
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program. If not, see <http://www.gnu.org/licenses/>.
16  */
17
18 #ifndef NOTIFICATION_PIXBUF_H
19 #define NOTIFICATION_PIXBUF_H NOTIFICATION_PIXBUF_H
20
21 #include <gdk/gdk.h>
22
23 /* By convention, the online icons for the trayicon are 
24  * immediately followed by the offline icons, so one can do
25  * offline = array[online+1] */
26 typedef enum {
27   NOTIFICATION_CM_LOGO_64x64 = 0,
28   NOTIFICATION_TRAYICON_NEWMAIL,
29   NOTIFICATION_TRAYICON_NEWMAIL_OFFLINE,
30   NOTIFICATION_TRAYICON_NEWMARKEDMAIL,
31   NOTIFICATION_TRAYICON_NEWMARKEDMAIL_OFFLINE,
32   NOTIFICATION_TRAYICON_NOMAIL,
33   NOTIFICATION_TRAYICON_NOMAIL_OFFLINE,
34   NOTIFICATION_TRAYICON_UNREADMAIL,
35   NOTIFICATION_TRAYICON_UNREADMAIL_OFFLINE,
36   NOTIFICATION_TRAYICON_UNREADMARKEDMAIL,
37   NOTIFICATION_TRAYICON_UNREADMARKEDMAIL_OFFLINE,
38   NOTIFICATION_PIXBUF_LAST
39 } NotificationPixbuf;
40
41 /* The reference to the returned GdkPixbuf's belongs to notification_pixbuf,
42  * and shall not be removed outside. */
43 GdkPixbuf* notification_pixbuf_get(NotificationPixbuf);
44
45 void notification_pixbuf_free_all(void);
46
47 #endif /* NOTIFICATION_PIXBUF_H */