GnuCash  2.6.99
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
search-reconciled.h
1 /*
2  * Copyright (C) 2002 Derek Atkins
3  *
4  * Authors: Derek Atkins <[email protected]>
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License as
8  * published by the Free Software Foundation; either version 2 of
9  * the License, or (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public
17  * License along with this program; if not, write to the
18  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19  * Boston, MA 02110-1301, USA.
20  */
21 
22 #ifndef _GNCSEARCH_RECONCILED_H
23 #define _GNCSEARCH_RECONCILED_H
24 
25 #include "search-core-type.h"
26 #include "Query.h" /* for cleared_match_t */
27 
28 #define GNC_TYPE_SEARCH_RECONCILED (gnc_search_reconciled_get_type ())
29 #define GNCSEARCH_RECONCILED(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, GNC_TYPE_SEARCH_RECONCILED, GNCSearchReconciled)
30 #define GNCSEARCH_RECONCILED_CLASS(klass) G_TYPE_CHECK_CLASS_CAST (klass, GNC_TYPE_SEARCH_RECONCILED, GNCSearchReconciledClass)
31 #define IS_GNCSEARCH_RECONCILED(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, GNC_TYPE_SEARCH_RECONCILED)
32 
35 
37 {
38  GNCSearchCoreType parent;
39 
40  QofCharMatch how;
41  cleared_match_t value;
42 };
43 
45 {
46  GNCSearchCoreTypeClass parent_class;
47 
48  /* virtual methods */
49 
50  /* signals */
51 };
52 
53 GType gnc_search_reconciled_get_type (void);
54 GNCSearchReconciled *gnc_search_reconciled_new (void);
55 
56 /* methods */
57 void gnc_search_reconciled_set_value(GNCSearchReconciled *fi, cleared_match_t value);
58 void gnc_search_reconciled_set_how (GNCSearchReconciled *fi, QofCharMatch how);
59 
60 #endif /* ! _GNCSEARCH_RECONCILED_H */
QofCharMatch
Definition: qofquerycore.h:133