15826b4d919c93ae8e24f6ba2d8e26d79a242c87
[framework/osp/vision.git] / inc / FUixVisionQrCodeTypes.h
1 //
2 // Open Service Platform
3 // Copyright (c) 2013 Samsung Electronics Co., Ltd.
4 //
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
8 //
9 //     http://www.apache.org/licenses/LICENSE-2.0
10 //
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
16 //
17
18
19 /**
20  * @file     FUixVisionQrCodeTypes.h
21  * @brief    This is the header file for the QR code types.
22  */
23
24 #ifndef _FUIX_VISION_QR_CODE_TYPES_H_
25 #define _FUIX_VISION_QR_CODE_TYPES_H_
26
27 namespace Tizen { namespace Uix { namespace Vision
28 {
29
30 /**
31  * @enum     QrCodeErrorCorrectionLevel
32  *
33  * Defines possible error correction levels.
34  *
35  * @brief    Enumeration that defines possible error correction levels for QR code.
36  *
37  * @since    2.1
38  */
39 enum QrCodeErrorCorrectionLevel
40 {
41     QR_CODE_ERROR_CORRECTION_LEVEL_L = 1, /** < Low */
42     QR_CODE_ERROR_CORRECTION_LEVEL_M = 2, /** < Medium */
43     QR_CODE_ERROR_CORRECTION_LEVEL_Q = 3, /** < Quartile */
44     QR_CODE_ERROR_CORRECTION_LEVEL_H = 4  /** < High */
45 };
46
47 /**
48  * @enum     QrCodeMode
49  *
50  * Defines possible encoding modes for QR codes.
51  *
52  * @brief    Enumeration that defines possible encoding modes for QR code.
53  *
54  * @since    2.1
55  */
56 enum QrCodeMode
57 {
58     QR_CODE_MODE_ALPHANUMERIC = 0,  /** < Alphanumeric */
59     QR_CODE_MODE_BYTE = 1,          /** < Byte */
60     QR_CODE_MODE_UTF8 = 2           /** < UTF8 */
61 };
62
63 } } } //Tizen::Uix::Vision
64
65 #endif // _FUIX_VISION_QR_CODE_TYPES_H_