Sha256: 83db1c2a5b647a11af1792bbbc17689ba53a38001f1e2708396578573ecf4a60

Contents?: true

Size: 1.02 KB

Versions: 2

Compression:

Stored size: 1.02 KB

Contents

/////////////////////////////////////////////////////////////////////////
//
// qrtypes.h --a part of libdecodeqr
//
// Copyright(C) 2007 NISHI Takao <zophos@koka-in.org>
//                   JMA  (Japan Medical Association)
//                   NaCl (Network Applied Communication Laboratory Ltd.)
//
// This is free software with ABSOLUTELY NO WARRANTY.
// You can redistribute and/or modify it under the terms of LGPL.
//
// $Id: qrtypes.h 36 2007-02-21 23:22:03Z zophos $
//
#ifndef __QR_TYPES__
#define __QR_TYPES__

#define QR_LEVEL_M 0
#define QR_LEVEL_L 1
#define QR_LEVEL_H 2
#define QR_LEVEL_Q 3

#define QR_MODE_NUMBER 1
#define QR_MODE_ALPHABET 2
#define QR_MODE_JOINT 3
#define QR_MODE_8BIT 4
#define QR_MODE_FNC1_1 5
#define QR_MODE_ECI 7
#define QR_MODE_KANJIS 8
#define QR_MODE_FNC1_2 9

typedef void * QrDecoderHandle;
typedef struct{
    int model;
    int version;
    int level;
    //int mode;     //not supported yet
    //int eci_mode; //not supported yet
    int charactor_size;
    int byte_size;
} QrCodeHeader;

#endif

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
qrtools-1.0.0 ext/qrtools/qrtypes.h
qrtools-1.0.1 ext/qrtools/qrtypes.h