Diffstat (limited to 'libical/src/libicalss/icalgaugeimpl.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libical/src/libicalss/icalgaugeimpl.h | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/libical/src/libicalss/icalgaugeimpl.h b/libical/src/libicalss/icalgaugeimpl.h new file mode 100644 index 0000000..73a2813 --- a/dev/null +++ b/libical/src/libicalss/icalgaugeimpl.h | |||
@@ -0,0 +1,63 @@ | |||
1 | /* -*- Mode: C -*- */ | ||
2 | /*====================================================================== | ||
3 | FILE: icalgaugeimpl.h | ||
4 | CREATOR: eric 09 Aug 2000 | ||
5 | |||
6 | |||
7 | $Id$ | ||
8 | $Locker$ | ||
9 | |||
10 | (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org | ||
11 | |||
12 | This program is free software; you can redistribute it and/or modify | ||
13 | it under the terms of either: | ||
14 | |||
15 | The LGPL as published by the Free Software Foundation, version | ||
16 | 2.1, available at: http://www.fsf.org/copyleft/lesser.html | ||
17 | |||
18 | Or: | ||
19 | |||
20 | The Mozilla Public License Version 1.0. You may obtain a copy of | ||
21 | the License at http://www.mozilla.org/MPL/ | ||
22 | |||
23 | ======================================================================*/ | ||
24 | |||
25 | #include "ical.h" | ||
26 | |||
27 | #include "pvl.h" | ||
28 | |||
29 | typedef enum icalgaugecompare { | ||
30 | ICALGAUGECOMPARE_EQUAL=ICAL_XLICCOMPARETYPE_EQUAL, | ||
31 | ICALGAUGECOMPARE_LESS=ICAL_XLICCOMPARETYPE_LESS, | ||
32 | ICALGAUGECOMPARE_LESSEQUAL=ICAL_XLICCOMPARETYPE_LESSEQUAL, | ||
33 | ICALGAUGECOMPARE_GREATER=ICAL_XLICCOMPARETYPE_GREATER, | ||
34 | ICALGAUGECOMPARE_GREATEREQUAL=ICAL_XLICCOMPARETYPE_GREATEREQUAL, | ||
35 | ICALGAUGECOMPARE_NOTEQUAL=ICAL_XLICCOMPARETYPE_NOTEQUAL, | ||
36 | ICALGAUGECOMPARE_REGEX=ICAL_XLICCOMPARETYPE_REGEX, | ||
37 | ICALGAUGECOMPARE_NONE=0 | ||
38 | } icalgaugecompare; | ||
39 | |||
40 | typedef enum icalgaugelogic { | ||
41 | ICALGAUGELOGIC_NONE, | ||
42 | ICALGAUGELOGIC_AND, | ||
43 | ICALGAUGELOGIC_OR | ||
44 | } icalgaugelogic; | ||
45 | |||
46 | |||
47 | struct icalgauge_where { | ||
48 | icalgaugelogic logic; | ||
49 | icalcomponent_kind comp; | ||
50 | icalproperty_kind prop; | ||
51 | icalgaugecompare compare; | ||
52 | char* value; | ||
53 | }; | ||
54 | |||
55 | struct icalgauge_impl | ||
56 | { | ||
57 | |||
58 | pvl_list select; /*Of icalgaugecompare, using only prop and comp fields*/ | ||
59 | pvl_list from; /* List of component_kinds, as integers */ | ||
60 | pvl_list where; /* List of icalgaugecompare */ | ||
61 | }; | ||
62 | |||
63 | |||