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 #ifndef FXBARCODE_QRCODE_BC_QRCODERENCODER_H_ 8 #define FXBARCODE_QRCODE_BC_QRCODERENCODER_H_ 9 10 #include <utility> 11 #include <vector> 12 13 #include "core/fxcrt/fx_string.h" 14 15 class CBC_QRCoder; 16 class CBC_QRCoderErrorCorrectionLevel; 17 18 class CBC_QRCoderEncoder { 19 public: 20 CBC_QRCoderEncoder(); 21 ~CBC_QRCoderEncoder(); 22 23 static bool Encode(const WideString& content, 24 const CBC_QRCoderErrorCorrectionLevel* ecLevel, 25 CBC_QRCoder* qrCode); 26 }; 27 28 #endif // FXBARCODE_QRCODE_BC_QRCODERENCODER_H_ 29