summaryrefslogtreecommitdiff
path: root/src/analysis/db/items/comment.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-04-19 19:25:04 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-04-19 19:25:04 (GMT)
commitc177597d6da5dedb32aa176e8370db8ffb7f87aa (patch)
tree26f7eb2702ba4aa3dfd7267d74fe78ad79791a8c /src/analysis/db/items/comment.h
parent35f37c72e9d81e478395914da6c10b3c546761a7 (diff)
Handled static strings as well as dynamic strings in comments.
Diffstat (limited to 'src/analysis/db/items/comment.h')
-rw-r--r--src/analysis/db/items/comment.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/analysis/db/items/comment.h b/src/analysis/db/items/comment.h
index 03d1bff..ee68491 100644
--- a/src/analysis/db/items/comment.h
+++ b/src/analysis/db/items/comment.h
@@ -58,7 +58,7 @@ typedef struct _GDbCommentClass GDbCommentClass;
GType g_db_comment_get_type(void);
/* Crée une définition de commentaire dans une zone de texte. */
-GDbComment *g_db_comment_new_inlined(const vmpa2t *, BufferLineFlags, const char *, bool);
+GDbComment *g_db_comment_new_inlined(const vmpa2t *, BufferLineFlags, bool);
/* Crée une définition de commentaire dans une zone de texte. */
GDbComment *g_db_comment_new_area(const vmpa2t *, BufferLineFlags, const char *, bool);
@@ -67,7 +67,13 @@ GDbComment *g_db_comment_new_area(const vmpa2t *, BufferLineFlags, const char *,
const vmpa2t *g_db_comment_get_address(GDbComment *);
/* Fournit le commentaire associé à un commentaire. */
-const char *g_db_comment_get_text(const GDbComment *);
+char *g_db_comment_get_text(GDbComment *);
+
+/* Associe un contenu supplémentaire à un commentaire. */
+void g_db_comment_add_dynamic_text(GDbComment *, char *);
+
+/* Associe un contenu statique supplémentaire à un commentaire. */
+void g_db_comment_add_static_text(GDbComment *, const char *);