Init Tizen 2.2.1
[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  * This header file contains the declarations of the QR code types.
24  */
25
26 #ifndef _FUIX_VISION_QR_CODE_TYPES_H_
27 #define _FUIX_VISION_QR_CODE_TYPES_H_
28
29 namespace Tizen { namespace Uix { namespace Vision
30 {
31
32 /**
33  * @enum     QrCodeErrorCorrectionLevel
34  *
35  * Defines the possible error correction levels for the 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 the possible encoding modes of the QR code.
51  *
52  * @since    2.1
53  */
54 enum QrCodeMode
55 {
56     QR_CODE_MODE_ALPHANUMERIC = 0,  /**< Alphanumeric */
57     QR_CODE_MODE_BYTE = 1,          /**< Byte */
58     QR_CODE_MODE_UTF8 = 2           /**< UTF8 */
59 };
60
61 } } } //Tizen::Uix::Vision
62
63 #endif // _FUIX_VISION_QR_CODE_TYPES_H_