summaryrefslogtreecommitdiff
path: root/src/decomp/output.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2010-12-02 00:59:53 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2010-12-02 00:59:53 (GMT)
commit957f50b657456c4c7da2778197c144548eded8cd (patch)
tree9aea0e8ffb4dc62b23fd324b55910916cef95167 /src/decomp/output.h
parentf2d479c16a427696790441fa1459e7194f49bb6a (diff)
Improved the rendering of decompiled Dex code.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@196 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/decomp/output.h')
-rw-r--r--src/decomp/output.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/decomp/output.h b/src/decomp/output.h
index 63be0f5..a4f72b2 100644
--- a/src/decomp/output.h
+++ b/src/decomp/output.h
@@ -25,6 +25,7 @@
#define _DECOMP_OUTPUT_H
+#include "../analysis/type.h"
#include "../glibext/gcodebuffer.h"
@@ -50,11 +51,30 @@ GType g_lang_output_get_type(void);
/* Ajoute un commentaire à un tampon donné. */
GBufferLine *g_lang_output_write_comments(GLangOutput *, GCodeBuffer *, const char *, size_t);
+/* Débute la définition d'une classe. */
+GBufferLine *g_lang_output_start_class(GLangOutput *, GCodeBuffer *, const GOpenidaType *);
+
+/* Termine la définition d'une classe. */
+void g_lang_output_end_class(GLangOutput *, GCodeBuffer *);
+
+/* Définit le prototype d'une routine. */
+GBufferLine *g_lang_output_start_routine_prototype(GLangOutput *, GCodeBuffer *, const GOpenidaType *);
+
+/* Marque la fin du prototype d'une routine. */
+void g_lang_output_end_routine_prototype(GLangOutput *, GCodeBuffer *, GBufferLine *);
+
+/* Commence la définition du corps d'une routine. */
+void g_lang_output_start_routine_body(GLangOutput *, GCodeBuffer *, GBufferLine *);
+
+/* Termine la définition du corps d'une routine. */
+void g_lang_output_end_routine_body(GLangOutput *, GCodeBuffer *);
+
typedef unsigned int lang_t;
+#include "lang/java.h"