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/datamatrix/BC_SymbolInfo.h" 12 #include "fxbarcode/qrcode/BC_QRCoderEncoder.h" 13 #include "fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.h" 14 #include "fxbarcode/qrcode/BC_QRCoderMode.h" 15 #include "fxbarcode/qrcode/BC_QRCoderVersion.h" 16 BC_Library_Init()17void BC_Library_Init() { 18 CBC_QRCoderErrorCorrectionLevel::Initialize(); 19 CBC_QRCoderMode::Initialize(); 20 CBC_QRCoderVersion::Initialize(); 21 CBC_QRCoderEncoder::Initialize(); 22 CBC_SymbolInfo::Initialize(); 23 } 24 BC_Library_Destroy()25void BC_Library_Destroy() { 26 CBC_QRCoderErrorCorrectionLevel::Finalize(); 27 CBC_QRCoderMode::Finalize(); 28 CBC_QRCoderVersion::Finalize(); 29 CBC_QRCoderEncoder::Finalize(); 30 CBC_SymbolInfo::Finalize(); 31 } 32