diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2017-02-08 16:15:04 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2017-02-08 16:15:04 (GMT) |
commit | 511ac8975be6008d53e37bede9934a11e597551c (patch) | |
tree | 89280cb2034de00db7db5b7bee3b044253d72cef /src/analysis/project.h | |
parent | 7778a0c082c4969ed6184883b2d96d8a851def99 (diff) |
Gathered all the binary loading process into an uniq place.
Diffstat (limited to 'src/analysis/project.h')
-rw-r--r-- | src/analysis/project.h | 42 |
1 files changed, 8 insertions, 34 deletions
diff --git a/src/analysis/project.h b/src/analysis/project.h index d92f313..bf399fa 100644 --- a/src/analysis/project.h +++ b/src/analysis/project.h @@ -39,6 +39,11 @@ */ typedef struct _GPanelItem GPanelItem; +/** + * Autre boucle sans fin similaire... + */ +typedef struct _GBinaryLoader GBinaryLoader; + /* ------------------------- DEFINITION D'UN PROJET INTERNE ------------------------- */ @@ -91,6 +96,9 @@ void g_study_project_add_binary_content(GStudyProject *, GBinContent *, ProjectC /* Recherche un contenu binaire du projet selon son empreinte. */ GBinContent *g_study_project_find_binary_content_by_hash(GStudyProject *, const char *); +/* Acquitte la fin d'un chargement différé et complet. */ +void ack_loaded_binary(GBinaryLoader *, GStudyProject *); + /* Assure l'intégration d'un élément binaire dans un projet. */ void g_study_project_add_loaded_binary(GLoadedBinary *, GStudyProject *); @@ -142,39 +150,5 @@ void push_project_into_recent_list(const GStudyProject *); -/* ----------------------- AMORCE POUR CHARGEMENT DE CONTENUS ----------------------- */ - - -#define G_TYPE_DELAYED_STUDY g_delayed_study_get_type() -#define G_DELAYED_STUDY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), g_delayed_study_get_type(), GDelayedStudy)) -#define G_IS_DELAYED_STUDY(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), g_delayed_study_get_type())) -#define G_DELAYED_STUDY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), G_TYPE_DELAYED_STUDY, GDelayedStudyClass)) -#define G_IS_DELAYED_STUDY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), G_TYPE_DELAYED_STUDY)) -#define G_DELAYED_STUDY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), G_TYPE_DELAYED_STUDY, GDelayedStudyClass)) - - -/* Ensembles binaires à désassembler (instance) */ -typedef struct _GDelayedStudy GDelayedStudy; - -/* Ensembles binaires à désassembler (classe) */ -typedef struct _GDelayedStudyClass GDelayedStudyClass; - - -/* Indique le type défini pour les tâches de préparations d'étude. */ -GType g_delayed_study_get_type(void); - -/* Crée une tâche d'intégration de contenu binaire. */ -GDelayedStudy *g_delayed_study_new(GStudyProject *, GBinContent *, ProjectContentState); - -/* Limite l'étude et l'intégration d'un contenu binaire. */ -void g_delayed_study_preload_only(GDelayedStudy *); - -/* Programme l'étude et l'intégration d'un contenu binaire. */ -void qck_study_new_content(GBinContent *, ProjectContentState); - -/* Programme l'étude et l'intégration d'un contenu binaire. */ -void study_new_content(GDelayedStudy *); - - #endif /* _PROJECT_H */ |