summaryrefslogtreecommitdiff
path: root/xfa/fxbarcode/common/BC_CommonECI.h
blob: 5bc4c1485c98cced0c1a3d0ba7135f62a7570b4b (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
25
// 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();

  virtual 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_