root / libcacard / eventt.h @ 92f562ec
History | View | Annotate | Download (518 Bytes)
1 | 111a38b0 | Robert Relyea | /*
|
---|---|---|---|
2 | 111a38b0 | Robert Relyea | * This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
|
3 | 111a38b0 | Robert Relyea | * See the COPYING.LIB file in the top-level directory.
|
4 | 111a38b0 | Robert Relyea | */
|
5 | 111a38b0 | Robert Relyea | |
6 | 111a38b0 | Robert Relyea | #ifndef EVENTT_H
|
7 | 111a38b0 | Robert Relyea | #define EVENTT_H 1 |
8 | 111a38b0 | Robert Relyea | #include "vreadert.h" |
9 | 111a38b0 | Robert Relyea | #include "vcardt.h" |
10 | 111a38b0 | Robert Relyea | |
11 | 111a38b0 | Robert Relyea | typedef struct VEventStruct VEvent; |
12 | 111a38b0 | Robert Relyea | |
13 | 111a38b0 | Robert Relyea | typedef enum { |
14 | 111a38b0 | Robert Relyea | VEVENT_READER_INSERT, |
15 | 111a38b0 | Robert Relyea | VEVENT_READER_REMOVE, |
16 | 111a38b0 | Robert Relyea | VEVENT_CARD_INSERT, |
17 | 111a38b0 | Robert Relyea | VEVENT_CARD_REMOVE, |
18 | 111a38b0 | Robert Relyea | VEVENT_LAST, |
19 | 111a38b0 | Robert Relyea | } VEventType; |
20 | 111a38b0 | Robert Relyea | |
21 | 111a38b0 | Robert Relyea | struct VEventStruct {
|
22 | 111a38b0 | Robert Relyea | VEvent *next; |
23 | 111a38b0 | Robert Relyea | VEventType type; |
24 | 111a38b0 | Robert Relyea | VReader *reader; |
25 | 111a38b0 | Robert Relyea | VCard *card; |
26 | 111a38b0 | Robert Relyea | }; |
27 | 111a38b0 | Robert Relyea | #endif
|
28 | 111a38b0 | Robert Relyea |