./configure wasnt happy if gsf is present but no wv. Its happy now. pkg-check-modules...
[beagle.git] / libbeagle / beagle / beagle-query-part-date.h
blobff10ed542c2b14f069231369aba90f296923bad7
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; -*- */
3 /*
4 * beagle-query-part-date.h
6 * Copyright (C) 2005 Novell, Inc.
8 */
11 * Permission is hereby granted, free of charge, to any person obtaining a
12 * copy of this software and associated documentation files (the "Software"),
13 * to deal in the Software without restriction, including without limitation
14 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
15 * and/or sell copies of the Software, and to permit persons to whom the
16 * Software is furnished to do so, subject to the following conditions:
18 * The above copyright notice and this permission notice shall be included in
19 * all copies or substantial portions of the Software.
21 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
26 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
27 * DEALINGS IN THE SOFTWARE.
30 #ifndef __BEAGLE_QUERY_PART_DATE_H
31 #define __BEAGLE_QUERY_PART_DATE_H
33 #include <glib.h>
35 #include "beagle-query-part.h"
37 #define BEAGLE_TYPE_QUERY_PART_DATE (beagle_query_part_date_get_type ())
38 #define BEAGLE_QUERY_PART_DATE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BEAGLE_TYPE_QUERY_PART_DATE, BeagleQueryPartDate))
39 #define BEAGLE_QUERY_PART_DATE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BEAGLE_TYPE_QUERY_PART_DATE, BeagleQueryPartDateClass))
40 #define BEAGLE_IS_QUERY_PART_DATE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BEAGLE_TYPE_QUERY_PART_DATE))
41 #define BEAGLE_IS_QUERY_PART_DATE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BEAGLE_TYPE_QUERY_PART_DATE))
42 #define BEAGLE_QUERY_PART_DATE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BEAGLE_TYPE_QUERY_PART_DATE, BeagleQueryPartDateClass))
44 typedef struct _BeagleQueryPartDate BeagleQueryPartDate;
45 typedef struct _BeagleQueryPartDateClass BeagleQueryPartDateClass;
47 struct _BeagleQueryPartDate {
48 BeagleQueryPart parent;
51 struct _BeagleQueryPartDateClass {
52 BeagleQueryPartClass parent_class;
55 GType beagle_query_part_date_get_type (void);
56 BeagleQueryPartDate * beagle_query_part_date_new (void);
58 void beagle_query_part_date_set_start_date (BeagleQueryPartDate *part,
59 BeagleTimestamp *start_date);
60 void beagle_query_part_date_set_end_date (BeagleQueryPartDate *part,
61 BeagleTimestamp *end_date);
62 #endif /* __BEAGLE_QUERY_PART_DATE_H */