• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2014 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_QRCODE_BC_QRCODERENCODER_H_
8 #define FXBARCODE_QRCODE_BC_QRCODERENCODER_H_
9 
10 #include "core/fxcrt/widestring.h"
11 
12 class CBC_QRCoder;
13 class CBC_QRCoderErrorCorrectionLevel;
14 
15 class CBC_QRCoderEncoder {
16  public:
17   CBC_QRCoderEncoder() = delete;
18   ~CBC_QRCoderEncoder() = delete;
19 
20   static void Initialize();
21   static void Finalize();
22   static bool Encode(WideStringView content,
23                      const CBC_QRCoderErrorCorrectionLevel* ecLevel,
24                      CBC_QRCoder* qrCode);
25 };
26 
27 #endif  // FXBARCODE_QRCODE_BC_QRCODERENCODER_H_
28