summaryrefslogtreecommitdiff
path: root/src/gui_hexdump.hh
blob: d3c41cf9c8dbd7df4e3034f82c961ce8a36f732f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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