00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef _GNCSEARCH_DOUBLE_H
00022 #define _GNCSEARCH_DOUBLE_H
00023
00024 #include "search-core-type.h"
00025 #include "QueryNew.h"
00026
00027 #define GNC_TYPE_SEARCH_DOUBLE (gnc_search_double_get_type ())
00028 #define GNCSEARCH_DOUBLE(obj) GTK_CHECK_CAST (obj, GNC_TYPE_SEARCH_DOUBLE, GNCSearchDouble)
00029 #define GNCSEARCH_DOUBLE_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, GNC_TYPE_SEARCH_DOUBLE, GNCSearchDoubleClass)
00030 #define IS_GNCSEARCH_DOUBLE(obj) GTK_CHECK_TYPE (obj, GNC_TYPE_SEARCH_DOUBLE)
00031
00032 typedef struct _GNCSearchDouble GNCSearchDouble;
00033 typedef struct _GNCSearchDoubleClass GNCSearchDoubleClass;
00034
00035 struct _GNCSearchDouble {
00036 GNCSearchCoreType parent;
00037
00038 query_compare_t how;
00039 double value;
00040 };
00041
00042 struct _GNCSearchDoubleClass {
00043 GNCSearchCoreTypeClass parent_class;
00044
00045
00046
00047
00048 };
00049
00050 GType gnc_search_double_get_type (void);
00051 GNCSearchDouble *gnc_search_double_new (void);
00052
00053
00054 void gnc_search_double_set_value (GNCSearchDouble *fi, double val);
00055 void gnc_search_double_set_how (GNCSearchDouble *fi, query_compare_t how);
00056
00057 #endif
00058