diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-01-28 00:24:40 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-01-28 00:24:40 (GMT) |
commit | 94cb8acac1027a4deee933c84d7918f4a5ea4983 (patch) | |
tree | e6f5a1f372cdceb942d4bd659668c20dc34e649b /src/analysis/project.h | |
parent | fa99f722ed6b06ea7f6b56a8816c61ecd5053289 (diff) |
Allowed to filter contents before running analysis.
Diffstat (limited to 'src/analysis/project.h')
-rw-r--r-- | src/analysis/project.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/analysis/project.h b/src/analysis/project.h index c634fb2..9b42a47 100644 --- a/src/analysis/project.h +++ b/src/analysis/project.h @@ -74,8 +74,14 @@ const char *g_study_project_get_filename(const GStudyProject *); /* ------------------------ INTEGRATION DE CONTENUS BINAIRES ------------------------ */ +/* Filtre sur les contenus chargeables */ +typedef bool (* filter_loadable_cb) (GLoadedContent *, void *); + /* Assure l'intégration de contenus binaires dans un projet. */ -void g_study_project_discover_binary_content(GStudyProject *, GBinContent *); +void g_study_project_discover_binary_content(GStudyProject *, GBinContent *, filter_loadable_cb, void *); + +/* Réceptionne la recette d'une analyse de contenu. */ +void on_loaded_content_analyzed(GLoadedContent *, gboolean, GStudyProject *); #define g_study_project_lock_contents(p) \ _g_study_project_lock_unlock_contents(p, true) |