diff options
author | JP Rosevear <jpr@src.gnome.org> | 2001-01-24 03:20:44 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2001-01-24 03:20:44 +0800 |
commit | fd279723663879e742e53d7b3503248f6af91791 (patch) | |
tree | 09233c88d6c42b5bb324be7c64a8f8c64ff02846 /libical/src/libicalss/icalgaugeimpl.h | |
parent | 34bcd381ce1985cc762a896f15d427e368af95e5 (diff) | |
download | gsoc2013-evolution-fd279723663879e742e53d7b3503248f6af91791.tar gsoc2013-evolution-fd279723663879e742e53d7b3503248f6af91791.tar.gz gsoc2013-evolution-fd279723663879e742e53d7b3503248f6af91791.tar.bz2 gsoc2013-evolution-fd279723663879e742e53d7b3503248f6af91791.tar.lz gsoc2013-evolution-fd279723663879e742e53d7b3503248f6af91791.tar.xz gsoc2013-evolution-fd279723663879e742e53d7b3503248f6af91791.tar.zst gsoc2013-evolution-fd279723663879e742e53d7b3503248f6af91791.zip |
This commit was generated by cvs2svn to compensate for changes in r7747,
which included commits to RCS files with non-trunk default branches.
svn path=/trunk/; revision=7748
Diffstat (limited to 'libical/src/libicalss/icalgaugeimpl.h')
-rw-r--r-- | libical/src/libicalss/icalgaugeimpl.h | 38 |
1 files changed, 31 insertions, 7 deletions
diff --git a/libical/src/libicalss/icalgaugeimpl.h b/libical/src/libicalss/icalgaugeimpl.h index 927d46ef0a..73a2813242 100644 --- a/libical/src/libicalss/icalgaugeimpl.h +++ b/libical/src/libicalss/icalgaugeimpl.h @@ -20,20 +20,44 @@ The Mozilla Public License Version 1.0. You may obtain a copy of the License at http://www.mozilla.org/MPL/ - The Original Code is eric. The Initial Developer of the Original - Code is Eric Busboom - - ======================================================================*/ #include "ical.h" +#include "pvl.h" + +typedef enum icalgaugecompare { + ICALGAUGECOMPARE_EQUAL=ICAL_XLICCOMPARETYPE_EQUAL, + ICALGAUGECOMPARE_LESS=ICAL_XLICCOMPARETYPE_LESS, + ICALGAUGECOMPARE_LESSEQUAL=ICAL_XLICCOMPARETYPE_LESSEQUAL, + ICALGAUGECOMPARE_GREATER=ICAL_XLICCOMPARETYPE_GREATER, + ICALGAUGECOMPARE_GREATEREQUAL=ICAL_XLICCOMPARETYPE_GREATEREQUAL, + ICALGAUGECOMPARE_NOTEQUAL=ICAL_XLICCOMPARETYPE_NOTEQUAL, + ICALGAUGECOMPARE_REGEX=ICAL_XLICCOMPARETYPE_REGEX, + ICALGAUGECOMPARE_NONE=0 +} icalgaugecompare; + +typedef enum icalgaugelogic { + ICALGAUGELOGIC_NONE, + ICALGAUGELOGIC_AND, + ICALGAUGELOGIC_OR +} icalgaugelogic; + + +struct icalgauge_where { + icalgaugelogic logic; + icalcomponent_kind comp; + icalproperty_kind prop; + icalgaugecompare compare; + char* value; +}; + struct icalgauge_impl { - icalcomponent* select; - icalcomponent* from; - icalcomponent* where; + pvl_list select; /*Of icalgaugecompare, using only prop and comp fields*/ + pvl_list from; /* List of component_kinds, as integers */ + pvl_list where; /* List of icalgaugecompare */ }; |