summaryrefslogtreecommitdiff
path: root/core/fxcodec/jbig2/JBig2_Segment.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-04-27 17:06:58 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-04-27 17:06:58 +0000
commit3241bb3e98c0b327bbd5b0dc02621e6105cf37a9 (patch)
treed015e3cb2d52c3438dd7795ec07fe2749daddfca /core/fxcodec/jbig2/JBig2_Segment.h
parent61f66c9be2abf4f2a5f8bc299ad6e1900c63dbc3 (diff)
downloadpdfium-3241bb3e98c0b327bbd5b0dc02621e6105cf37a9.tar.xz
Fix style for many jbig2 methods.chromium/3412
Change-Id: Ie700e132f13f2cb4851ea59b68c891e3c42af243 Reviewed-on: https://pdfium-review.googlesource.com/31531 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fxcodec/jbig2/JBig2_Segment.h')
-rw-r--r--core/fxcodec/jbig2/JBig2_Segment.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/core/fxcodec/jbig2/JBig2_Segment.h b/core/fxcodec/jbig2/JBig2_Segment.h
index 914115b522..45e2a3dd00 100644
--- a/core/fxcodec/jbig2/JBig2_Segment.h
+++ b/core/fxcodec/jbig2/JBig2_Segment.h
@@ -15,24 +15,25 @@
#include "core/fxcodec/jbig2/JBig2_PatternDict.h"
#include "core/fxcodec/jbig2/JBig2_SymbolDict.h"
-typedef enum {
+enum JBig2_SegmentState {
JBIG2_SEGMENT_HEADER_UNPARSED,
JBIG2_SEGMENT_DATA_UNPARSED,
JBIG2_SEGMENT_PARSE_COMPLETE,
JBIG2_SEGMENT_PAUSED,
JBIG2_SEGMENT_ERROR
-} JBig2_SegmentState;
-typedef enum {
+};
+
+enum JBig2_ResultType {
JBIG2_VOID_POINTER = 0,
JBIG2_IMAGE_POINTER,
JBIG2_SYMBOL_DICT_POINTER,
JBIG2_PATTERN_DICT_POINTER,
JBIG2_HUFFMAN_TABLE_POINTER
-} JBig2_ResultType;
+};
+
class CJBig2_Segment {
public:
CJBig2_Segment();
-
~CJBig2_Segment();
uint32_t m_dwNumber;