diff options
author | Leo Uino <leo@norisys.jp> | 2011-07-14 11:36:58 +0900 |
---|---|---|
committer | Leo Uino <leo@norisys.jp> | 2011-07-14 12:08:12 +0900 |
commit | 3af4ffd175dcaf8aaf735f3f9564da54c4f29403 (patch) | |
tree | a7bcb6f3e372ec7e3ec92ee0fa6be831e664fd9b /lpg/libqr/qr/types.h | |
parent | 35baea42d794bec1fd5f2200f1f6f48877c5c26c (diff) | |
download | pdf-simple-sign-3af4ffd175dcaf8aaf735f3f9564da54c4f29403.tar.gz pdf-simple-sign-3af4ffd175dcaf8aaf735f3f9564da54c4f29403.tar.xz pdf-simple-sign-3af4ffd175dcaf8aaf735f3f9564da54c4f29403.zip |
Create common header
Diffstat (limited to 'lpg/libqr/qr/types.h')
-rw-r--r-- | lpg/libqr/qr/types.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lpg/libqr/qr/types.h b/lpg/libqr/qr/types.h index bb44cde..3615e3e 100644 --- a/lpg/libqr/qr/types.h +++ b/lpg/libqr/qr/types.h @@ -4,5 +4,23 @@ struct qr_data; struct qr_code; +enum qr_data_type { + QR_DATA_INVALID = -1, + QR_DATA_ECI = 7, + QR_DATA_NUMERIC = 1, + QR_DATA_ALPHA = 2, + QR_DATA_8BIT = 4, + QR_DATA_KANJI = 8, /* JIS X 0208 */ + QR_DATA_MIXED = 3, + QR_DATA_FNC1 = 9 +}; + +enum qr_ec_level { + QR_EC_LEVEL_L = 0x1, + QR_EC_LEVEL_M = 0x0, + QR_EC_LEVEL_Q = 0x3, + QR_EC_LEVEL_H = 0x2 +}; + #endif |