• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2016 The PDFium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 
7 #ifndef FXBARCODE_BC_LIBRARY_H_
8 #define FXBARCODE_BC_LIBRARY_H_
9 
10 #include <stdint.h>
11 
12 enum class BC_TEXT_LOC : uint8_t {
13   kNone = 0,
14   kAbove,
15   kBelow,
16   kAboveEmbed,
17   kBelowEmbed,
18 };
19 
20 enum class BC_CHAR_ENCODING : uint8_t {
21   kUTF8 = 0,
22   kUnicode,
23 };
24 
25 enum class BC_TYPE : int8_t {
26   kUnknown = -1,
27   kCode39 = 0,
28   kCodabar,
29   kCode128,
30   kCode128B,
31   kCode128C,
32   kEAN8,
33   kUPCA,
34   kEAN13,
35   kQRCode,
36   kPDF417,
37   kDataMatrix,
38   kLast = kDataMatrix
39 };
40 
41 void BC_Library_Init();
42 void BC_Library_Destroy();
43 
44 #endif  // FXBARCODE_BC_LIBRARY_H_
45