1 #ifndef __BARCODE_FORMAT_H__
2 #define __BARCODE_FORMAT_H__
8 * Created by Christian Brunschen on 13/05/2008.
9 * Modified by Lukasz Warchol on 02/02/2010
10 * Copyright 2008 ZXing authors All rights reserved.
12 * Licensed under the Apache License, Version 2.0 (the "License");
13 * you may not use this file except in compliance with the License.
14 * You may obtain a copy of the License at
16 * http://www.apache.org/licenses/LICENSE-2.0
18 * Unless required by applicable law or agreed to in writing, software
19 * distributed under the License is distributed on an "AS IS" BASIS,
20 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21 * See the License for the specific language governing permissions and
22 * limitations under the License.
27 typedef enum BarcodeFormat {
28 BarcodeFormat_None = 0,
29 BarcodeFormat_QR_CODE,
30 BarcodeFormat_DATA_MATRIX,
35 BarcodeFormat_CODE_128,
36 BarcodeFormat_CODE_39,
40 /* if you update the enum, please update the name in BarcodeFormat.cpp */
41 extern const char *barcodeFormatNames[];
44 #endif // __BARCODE_FORMAT_H__