Fixed #374055:Only the first "tag" is detected in digikam.
[beagle.git] / libbeagle / beagle / beagle-query-part-wildcard.h
blobd941481d150d5d82292228fb42b93b2547125cad
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; -*- */
3 /*
4 * beagle-query-part-wildcard.h
6 * Copyright (C) 2005-2006 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_WILDCARD_H
31 #define __BEAGLE_QUERY_PART_WILDCARD_H
33 #include <glib.h>
35 #include "beagle-query-part.h"
37 #define BEAGLE_TYPE_QUERY_PART_WILDCARD (beagle_query_part_wildcard_get_type ())
38 #define BEAGLE_QUERY_PART_WILDCARD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BEAGLE_TYPE_QUERY_PART_WILDCARD, BeagleQueryPartWildcard))
39 #define BEAGLE_QUERY_PART_WILDCARD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BEAGLE_TYPE_QUERY_PART_WILDCARD, BeagleQueryPartWildcardClass))
40 #define BEAGLE_IS_QUERY_PART_WILDCARD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BEAGLE_TYPE_QUERY_PART_WILDCARD))
41 #define BEAGLE_IS_QUERY_PART_WILDCARD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BEAGLE_TYPE_QUERY_PART_WILDCARD))
42 #define BEAGLE_QUERY_PART_WILDCARD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BEAGLE_TYPE_QUERY_PART_WILDCARD, BeagleQueryPartWildcardClass))
44 typedef struct _BeagleQueryPartWildcard BeagleQueryPartWildcard;
45 typedef struct _BeagleQueryPartWildcardClass BeagleQueryPartWildcardClass;
47 struct _BeagleQueryPartWildcard {
48 BeagleQueryPart parent;
51 struct _BeagleQueryPartWildcardClass {
52 BeagleQueryPartClass parent_class;
55 GType beagle_query_part_wildcard_get_type (void);
56 BeagleQueryPartWildcard *beagle_query_part_wildcard_new (void);
58 void beagle_query_part_wildcard_set_query_string (BeagleQueryPartWildcard *part,
59 const char *query_string);
61 #endif /* __BEAGLE_QUERY_PART_WILDCARD_H */