1 // Copyright 2016 PDFium Authors. All rights reserved. 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 BC_TEXT_LOC : uint8_t { 13 BC_TEXT_LOC_NONE = 0, 14 BC_TEXT_LOC_ABOVE, 15 BC_TEXT_LOC_BELOW, 16 BC_TEXT_LOC_ABOVEEMBED, 17 BC_TEXT_LOC_BELOWEMBED 18 }; 19 20 enum BC_CHAR_ENCODING : uint8_t { 21 CHAR_ENCODING_UTF8 = 0, 22 CHAR_ENCODING_UNICODE 23 }; 24 25 enum BC_TYPE : int8_t { 26 BC_UNKNOWN = -1, 27 BC_CODE39 = 0, 28 BC_CODABAR, 29 BC_CODE128, 30 BC_CODE128_B, 31 BC_CODE128_C, 32 BC_EAN8, 33 BC_UPCA, 34 BC_EAN13, 35 BC_QR_CODE, 36 BC_PDF417, 37 BC_DATAMATRIX, 38 BC_LAST = BC_DATAMATRIX 39 }; 40 41 void BC_Library_Init(); 42 void BC_Library_Destroy(); 43 44 #endif // FXBARCODE_BC_LIBRARY_H_ 45