1 // Copyright 2014 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 #include "fxbarcode/BC_Library.h" 8 9 #include <stdint.h> 10 11 #include "fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.h" 12 #include "fxbarcode/datamatrix/BC_ErrorCorrection.h" 13 #include "fxbarcode/datamatrix/BC_SymbolInfo.h" 14 #include "fxbarcode/pdf417/BC_PDF417HighLevelEncoder.h" 15 #include "fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.h" 16 #include "fxbarcode/qrcode/BC_QRCoderMode.h" 17 #include "fxbarcode/qrcode/BC_QRCoderVersion.h" 18 BC_Library_Init()19void BC_Library_Init() { 20 CBC_QRCoderErrorCorrectionLevel::Initialize(); 21 CBC_QRCoderMode::Initialize(); 22 CBC_QRCoderVersion::Initialize(); 23 CBC_ReedSolomonGF256::Initialize(); 24 CBC_SymbolInfo::Initialize(); 25 CBC_ErrorCorrection::Initialize(); 26 CBC_PDF417HighLevelEncoder::Initialize(); 27 } 28 BC_Library_Destroy()29void BC_Library_Destroy() { 30 CBC_QRCoderErrorCorrectionLevel::Finalize(); 31 CBC_QRCoderMode::Finalize(); 32 CBC_QRCoderVersion::Finalize(); 33 CBC_ReedSolomonGF256::Finalize(); 34 CBC_SymbolInfo::Finalize(); 35 CBC_ErrorCorrection::Finalize(); 36 CBC_PDF417HighLevelEncoder::Finalize(); 37 } 38