aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/utils/data_printer.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt/utils/data_printer.h')
-rw-r--r--ui/qt/utils/data_printer.h18
1 files changed, 5 insertions, 13 deletions
diff --git a/ui/qt/utils/data_printer.h b/ui/qt/utils/data_printer.h
index 923c15169b..42a5f0c04d 100644
--- a/ui/qt/utils/data_printer.h
+++ b/ui/qt/utils/data_printer.h
@@ -7,19 +7,7 @@
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
- * This program 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 2
- * of the License, or (at your option) any later version.
- *
- * This program 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 this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ * SPDX-License-Identifier: GPL-2.0+
*/
#ifndef DATA_PRINTER_H
@@ -57,6 +45,10 @@ public:
void setByteLineLength(int);
int byteLineLength() const;
+ // Insert a space after this many bytes
+ static int separatorInterval() { return 8; }
+ // The number of hexadecimal characters per line
+ static int hexChars();
private:
QString hexTextDump(QByteArray printData, bool append_text);