diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-05-07 15:00:14 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-05-07 15:00:14 (GMT) |
commit | 83da8ea946dc50941838ec8b3951108f5e16642e (patch) | |
tree | 06d30655b95e856f2def3da0fab24067271de8b0 /src/format/format-int.h | |
parent | c136e2c4c1ad02ea2e363fbe71ce54c6255793e2 (diff) |
Described binary formats and improved their loading.
Diffstat (limited to 'src/format/format-int.h')
-rw-r--r-- | src/format/format-int.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/format/format-int.h b/src/format/format-int.h index 09586b9..354e616 100644 --- a/src/format/format-int.h +++ b/src/format/format-int.h @@ -40,6 +40,9 @@ /* Indique la désignation interne du format. */ typedef const char * (* format_get_name_fc) (const GBinFormat *); +/* Fournit une description humaine du format. */ +typedef const char * (* format_get_desc_fc) (const GBinFormat *); + /*Assure l'interprétation d'un format en différé. */ typedef bool (* format_analyze_fc) (GBinFormat *, wgroup_id_t, GtkStatusStack *); @@ -116,6 +119,7 @@ struct _GBinFormatClass GObjectClass parent; /* A laisser en premier */ format_get_name_fc get_name; /* Désignation interne */ + format_get_desc_fc get_desc; /* Désignation humaine */ format_analyze_fc analyze; /* Interprétation du format */ |