Back to index

lightning-sunbird  0.9+nobinonly
icalgaugeimpl.h
Go to the documentation of this file.
00001 /* -*- Mode: C -*- */
00002 /*======================================================================
00003  FILE: icalgaugeimpl.h
00004  CREATOR: eric 09 Aug 2000
00005 
00006 
00007  $Id: icalgaugeimpl.h,v 1.6 2002/07/21 17:18:15 lindner Exp $
00008  $Locker:  $
00009 
00010  (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
00011 
00012  This program is free software; you can redistribute it and/or modify
00013  it under the terms of either: 
00014 
00015     The LGPL as published by the Free Software Foundation, version
00016     2.1, available at: http://www.fsf.org/copyleft/lesser.html
00017 
00018   Or:
00019 
00020     The Mozilla Public License Version 1.0. You may obtain a copy of
00021     the License at http://www.mozilla.org/MPL/
00022 
00023 ======================================================================*/
00024 
00025 #include "ical.h"
00026 
00027 typedef enum icalgaugecompare {
00028     ICALGAUGECOMPARE_EQUAL=ICAL_XLICCOMPARETYPE_EQUAL,
00029     ICALGAUGECOMPARE_LESS=ICAL_XLICCOMPARETYPE_LESS,
00030     ICALGAUGECOMPARE_LESSEQUAL=ICAL_XLICCOMPARETYPE_LESSEQUAL,
00031     ICALGAUGECOMPARE_GREATER=ICAL_XLICCOMPARETYPE_GREATER,
00032     ICALGAUGECOMPARE_GREATEREQUAL=ICAL_XLICCOMPARETYPE_GREATEREQUAL,
00033     ICALGAUGECOMPARE_NOTEQUAL=ICAL_XLICCOMPARETYPE_NOTEQUAL,
00034     ICALGAUGECOMPARE_REGEX=ICAL_XLICCOMPARETYPE_REGEX,
00035     ICALGAUGECOMPARE_ISNULL=ICAL_XLICCOMPARETYPE_ISNULL,
00036     ICALGAUGECOMPARE_ISNOTNULL=ICAL_XLICCOMPARETYPE_ISNOTNULL,
00037     ICALGAUGECOMPARE_NONE=0
00038 } icalgaugecompare;
00039 
00040 typedef enum icalgaugelogic {
00041     ICALGAUGELOGIC_NONE,
00042     ICALGAUGELOGIC_AND,
00043     ICALGAUGELOGIC_OR
00044 } icalgaugelogic;
00045     
00046 
00047 struct icalgauge_where {
00048        icalgaugelogic logic;
00049        icalcomponent_kind comp;
00050        icalproperty_kind prop;
00051        icalgaugecompare compare;
00052        char* value;
00053 };
00054 
00055 struct icalgauge_impl
00056 {
00057        pvl_list select; 
00058        pvl_list from;   
00059        pvl_list where;  
00060         int      expand;
00061 };
00062 
00063