1 #pragma once
2 /*
3 * Copyright 2016 Huy Cuong Nguyen
4 * Copyright 2016 ZXing authors
5 * Copyright 2006 Jeremias Maerki
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 *      http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 */
19 #include <string>
20 #include <vector>
21 
22 namespace ZXing {
23 
24 enum class CharacterSet;
25 
26 namespace Pdf417 {
27 
28 enum class Compaction;
29 
30 /**
31 * PDF417 high-level encoder following the algorithm described in ISO/IEC 15438:2001(E) in
32 * annex P.
33 */
34 class HighLevelEncoder
35 {
36 public:
37 	static std::vector<int> EncodeHighLevel(const std::wstring& msg, Compaction compaction, CharacterSet encoding);
38 };
39 
40 } // Pdf417
41 } // ZXing
42