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_TYPE : int8_t { 21 kUnknown = -1, 22 kCode39 = 0, 23 kCodabar, 24 kCode128, 25 kCode128B, 26 kCode128C, 27 kEAN8, 28 kUPCA, 29 kEAN13, 30 kQRCode, 31 kPDF417, 32 kDataMatrix, 33 kLast = kDataMatrix 34 }; 35 36 void BC_Library_Init(); 37 void BC_Library_Destroy(); 38 39 #endif // FXBARCODE_BC_LIBRARY_H_ 40