1 #ifndef _GNM_COMPLETE_H_
2 # define _GNM_COMPLETE_H_
4 #include <glib-object.h>
5 #include <gnumeric-fwd.h>
9 #define GNM_COMPLETE_TYPE (gnm_complete_get_type ())
10 #define GNM_COMPLETE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GNM_COMPLETE_TYPE, GnmComplete))
11 #define GNM_COMPLETE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GNM_COMPLETE_TYPE, GnmCompleteClass))
12 #define GNM_IS_COMPLETE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNM_COMPLETE_TYPE))
14 typedef void (*GnmCompleteMatchNotifyFn
) (char const *text
, void *closure
);
19 GnmCompleteMatchNotifyFn notify
;
28 GObjectClass parent_class
;
30 void (*start_over
) (GnmComplete
*complete
);
31 gboolean (*search_iteration
) (GnmComplete
*complete
);
34 void gnm_complete_construct (GnmComplete
*complete
,
35 GnmCompleteMatchNotifyFn notify
,
36 void *notify_closure
);
37 void gnm_complete_start (GnmComplete
*complete
, char const *text
);
38 GType
gnm_complete_get_type (void);
42 #endif /* _GNM_COMPLETE_H_ */