diff options
Diffstat (limited to 'src/analysis/project.h')
-rw-r--r-- | src/analysis/project.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/analysis/project.h b/src/analysis/project.h index 2ee178b..c634fb2 100644 --- a/src/analysis/project.h +++ b/src/analysis/project.h @@ -77,17 +77,23 @@ const char *g_study_project_get_filename(const GStudyProject *); /* Assure l'intégration de contenus binaires dans un projet. */ void g_study_project_discover_binary_content(GStudyProject *, GBinContent *); +#define g_study_project_lock_contents(p) \ + _g_study_project_lock_unlock_contents(p, true) + +#define g_study_project_unlock_contents(p) \ + _g_study_project_lock_unlock_contents(p, false) + +/* Verrouille ou déverrouille l'accès aux contenus chargés. */ +void _g_study_project_lock_unlock_contents(GStudyProject *, bool); + /* Attache un contenu donné à un projet donné. */ void g_study_project_attach_content(GStudyProject *, GLoadedContent *); /* Détache un contenu donné d'un projet donné. */ void g_study_project_detach_content(GStudyProject *, GLoadedContent *); -/* Met en place un projet à l'écran. */ -void g_study_project_display(const GStudyProject *); - -/* Supprime de l'écran un projet en place. */ -void g_study_project_hide(const GStudyProject *); +/* Fournit l'ensemble des contenus associés à un projet. */ +GLoadedContent **_g_study_project_get_contents(GStudyProject *, size_t *); /* Fournit l'ensemble des contenus associés à un projet. */ GLoadedContent **g_study_project_get_contents(GStudyProject *, size_t *); |