]>
Commit | Line | Data |
---|---|---|
111a38b0 RR |
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 | ||
6 | #ifndef EVENTT_H | |
7 | #define EVENTT_H 1 | |
8 | #include "vreadert.h" | |
9 | #include "vcardt.h" | |
10 | ||
11 | typedef struct VEventStruct VEvent; | |
12 | ||
13 | typedef enum { | |
14 | VEVENT_READER_INSERT, | |
15 | VEVENT_READER_REMOVE, | |
16 | VEVENT_CARD_INSERT, | |
17 | VEVENT_CARD_REMOVE, | |
18 | VEVENT_LAST, | |
19 | } VEventType; | |
20 | ||
21 | struct VEventStruct { | |
22 | VEvent *next; | |
23 | VEventType type; | |
24 | VReader *reader; | |
25 | VCard *card; | |
26 | }; | |
27 | #endif | |
28 | ||
29 |