summaryrefslogtreecommitdiff
path: root/src/dialogs/goto.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2012-12-31 21:47:47 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2012-12-31 21:47:47 (GMT)
commit36be37f57a66515444ffbfec6242b991f8346c09 (patch)
tree89fbc849416d59989f4d5569f5fb5e912c99e652 /src/dialogs/goto.h
parent555e12fb47d57f354bcdd7fdd54be7be50eeba4c (diff)
Added a dialog box to jump to a given address
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@314 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/dialogs/goto.h')
-rw-r--r--src/dialogs/goto.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/dialogs/goto.h b/src/dialogs/goto.h
new file mode 100644
index 0000000..80b72a3
--- /dev/null
+++ b/src/dialogs/goto.h
@@ -0,0 +1,43 @@
+
+/* OpenIDA - Outil d'analyse de fichiers binaires
+ * goto.h - prototypes pour la boîte de dialogue pour les sauts à une adresse donnée
+ *
+ * Copyright (C) 2012 Cyrille Bagard
+ *
+ * This file is part of OpenIDA.
+ *
+ * OpenIDA is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * OpenIDA is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Foobar. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+
+#ifndef _DIALOGS_GOTO_H
+#define _DIALOGS_GOTO_H
+
+
+#include <gtk/gtk.h>
+
+
+#include "../arch/archbase.h"
+
+
+
+/* Construit la fenêtre de saut à une adresse. */
+GtkWidget *create_goto_dialog(GtkWindow *);
+
+/* Fournit l'adresse obtenue par la saisie de l'utilisateur. */
+vmpa_t get_address_from_goto_dialog(GtkWidget *);
+
+
+
+#endif /* _DIALOGS_GOTO_H */