gebr-geoxml-validate

gebr-geoxml-validate

Synopsis

struct              GebrGeoXmlValidate;
GebrGeoXmlValidate * gebr_geoxml_validate_new           (gpointer data,
                                                         GebrGeoXmlValidateOperations operations,
                                                         GebrGeoXmlValidateOptions options);
void                gebr_geoxml_validate_free           (GebrGeoXmlValidate *validate);
gint                gebr_geoxml_validate_report_menu    (GebrGeoXmlValidate *validate,
                                                         GebrGeoXmlFlow *menu);
                    GebrGeoXmlValidateOptions;
                    GebrGeoXmlValidateOperations;

Description

Details

struct GebrGeoXmlValidate

struct GebrGeoXmlValidate {
	struct _GebrGeoXmlValidateOperations {
		void (*append_text)(gpointer data, const gchar * format, ...);
		/**
		 * Append text with emphasys.
		 * This function is optional. If NULL #append_text is used instead.
		 */
		void (*append_text_emph)(gpointer data, const gchar * format, ...);
		/**
		 * Append error text.
		 */
		void (*append_text_error)(gpointer data, gint flags_failed, const gchar * format, ...);
		/**
		 * Append error text with the paths strings (as for GtkTreeModels)
		 * for programs and parameters.
		 * If set then it is preferred over #append_text_error.
		 */
		void (*append_text_error_with_paths)(gpointer data, gint flags_failed, const gchar *program_path, const
						     gchar *parameter_path, GebrValidateCaseName validate_case, const gchar * format, ...);
	} operations;
	gpointer data;

	struct _GebrGeoXmlValidateOptions {
		/**
		 * TRUE to enable all subsequent tests.
		 * If so, others are overwriten
		 */
		gboolean all;
		gboolean filename;
		gboolean title;
		gboolean desc;
		gboolean author;
		gboolean dates;
		gboolean category;
		gboolean mhelp;
		gboolean progs;
		gboolean url;
		gboolean params;
		gboolean verbose;
		/**
		 * Not influenced by all
		 */
		gint ehelp;
};

gebr_geoxml_validate_new ()

GebrGeoXmlValidate * gebr_geoxml_validate_new           (gpointer data,
                                                         GebrGeoXmlValidateOperations operations,
                                                         GebrGeoXmlValidateOptions options);

gebr_geoxml_validate_free ()

void                gebr_geoxml_validate_free           (GebrGeoXmlValidate *validate);

gebr_geoxml_validate_report_menu ()

gint                gebr_geoxml_validate_report_menu    (GebrGeoXmlValidate *validate,
                                                         GebrGeoXmlFlow *menu);

GebrGeoXmlValidateOptions

typedef struct _GebrGeoXmlValidateOptions GebrGeoXmlValidateOptions;

GebrGeoXmlValidateOperations

typedef struct _GebrGeoXmlValidateOperations GebrGeoXmlValidateOperations;