Robert Relyea | 111a38b | 2010-11-28 16:36:38 +0200 | [diff] [blame] | 1 | /* |
| 2 | * This work is licensed under the terms of the GNU LGPL, version 2.1 or later. |
| 3 | * See the COPYING.LIB file in the top-level directory. |
| 4 | */ |
| 5 | #ifndef EVENT_H |
| 6 | #define EVENT_H 1 |
| 7 | #include "eventt.h" |
| 8 | #include "vreadert.h" |
| 9 | #include "vcardt.h" |
| 10 | |
| 11 | VEvent *vevent_new(VEventType type, VReader *reader, VCard *card); |
| 12 | void vevent_delete(VEvent *); |
| 13 | |
| 14 | /* |
| 15 | * VEvent queueing services |
| 16 | */ |
| 17 | void vevent_queue_vevent(VEvent *); |
| 18 | void vevent_queue_init(void); |
| 19 | |
| 20 | /* |
| 21 | * VEvent dequeing services |
| 22 | */ |
| 23 | VEvent *vevent_wait_next_vevent(void); |
| 24 | VEvent *vevent_get_next_vevent(void); |
| 25 | |
| 26 | |
| 27 | #endif |