summaryrefslogtreecommitdiff
path: root/src/gui_hexdump.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui_hexdump.hh')
-rw-r--r--src/gui_hexdump.hh23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/gui_hexdump.hh b/src/gui_hexdump.hh
new file mode 100644
index 0000000..d3c41cf
--- /dev/null
+++ b/src/gui_hexdump.hh
@@ -0,0 +1,23 @@
+// -*- mode: c++; c-basic-offset: 2; -*-
+
+#ifndef GUI_HEXDUMP_HH
+#define GUI_HEXDUMP_HH
+
+#include <string>
+
+class AttributedText;
+
+class HexDump {
+public:
+ static uint8_t const ADDRESS;
+ static uint8_t const CHARS;
+
+ static void write(AttributedText* text, uint8_t flags, std::string const& data,
+ size_t start = 0, size_t length = std::string::npos);
+
+private:
+ ~HexDump() {}
+ HexDump() {}
+};
+
+#endif // GUI_HEXDUMP_HH