summaryrefslogtreecommitdiff
path: root/xfa/fxbarcode/common/BC_CommonECI.h
blob: 20b3e76bb3865d79a39502ae3b3049bc59fccfa8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com

#ifndef XFA_FXBARCODE_COMMON_BC_COMMONECI_H_
#define XFA_FXBARCODE_COMMON_BC_COMMONECI_H_

#include <stdint.h>

class CBC_CommonECI {
 public:
  CBC_CommonECI(int32_t value);
  virtual ~CBC_CommonECI();

  int32_t GetValue();
  static CBC_CommonECI* GetEICByValue(int32_t value, int32_t& e);

 private:
  int32_t m_value;
};

#endif  // XFA_FXBARCODE_COMMON_BC_COMMONECI_H_