#ifndef BARCODE_H
/******************************************************************************
* *
* M O D U L E D E F I N E *
* *
******************************************************************************/
#define BARCODE_H
/******************************************************************************
* *
* C O M P I L E R D E F I N E D I N C L U D E F I L E S *
* *
******************************************************************************/
/* None */
/******************************************************************************
* *
* U S E R D E F I N E D I N C L U D E F I L E S *
* *
******************************************************************************/
#include "XImgMgr.h"
#include "XText.h"
#ifdef __cplusplus
extern "C" { /* Assume C declarations for C++ */
#endif /* __cplusplus */
/******************************************************************************
* *
* G L O B A L D E F I N E S *
* *
******************************************************************************/
/* None */
/******************************************************************************
* *
* S T R U C T U R E D E F I N I T I O N S *
* *
******************************************************************************/
typedef struct
{
_ImgBuf *psImageBuffer;
_Coord sCoord;
SHORT TotalWidth;
SHORT TotalHeight;
SHORT FontWidth;
SHORT FontHeight;
SHORT FontHoriMulti;
SHORT FontVertMulti;
SHORT AboveCode;
SHORT iNarrow;
SHORT iWide;
SHORT iHeight;
SHORT iHuman;
SHORT iRotation;
SHORT iCheck;
BYTE *pFont;
BYTE *pExp;
_eLanguage eLanguage;
_ePutWay ePutWay;
}_BarCodeAttr;
typedef INT (*BARCODEFUNC)(_BarCodeAttr *);
/******************************************************************************
* *
* G L O B A L V A R I A B L E S - N O I N I T I A L I Z E R S *
* *
******************************************************************************/
/* None */
/******************************************************************************
* *
* G L O B A L V A R I A B L E S - I N I T I A L I Z E R S *
* *
******************************************************************************/
/* None */
/******************************************************************************
* *
* F U N C T I O N P R O T O T Y P E S *
* *
******************************************************************************/
INT Codabar(_BarCodeAttr *);
INT Code11(_BarCodeAttr *);
INT Code128(_BarCodeAttr *);
INT Code25(_BarCodeAttr *);
INT Code39(_BarCodeAttr *);
INT Code93(_BarCodeAttr *);
INT CodeEanExt(_BarCodeAttr *);
INT Codemsi(_BarCodeAttr *);
INT CodePlessey(_BarCodeAttr *);
INT CPost(_BarCodeAttr *);
INT Ean128(_BarCodeAttr *);
INT Ean13(_BarCodeAttr *);
INT Ean14(_BarCodeAttr *);
INT Ean8(_BarCodeAttr *);
INT Itf14(_BarCodeAttr *);
INT Post(_BarCodeAttr *);
INT Upca(_BarCodeAttr *);
INT Upce(_BarCodeAttr *);
INT PreviewCodabar(_BarCodeAttr *);
INT PreviewCode11(_BarCodeAttr *);
INT PreviewCode128(_BarCodeAttr *);
INT PreviewCode25(_BarCodeAttr *);
INT PreviewCode39(_BarCodeAttr *);
INT PreviewCode93(_BarCodeAttr *);
INT PreviewCodeEanExt(_BarCodeAttr *);
INT PreviewCodemsi(_BarCodeAttr *);
INT PreviewCodePlessey(_BarCodeAttr *);
INT PreviewCPost(_BarCodeAttr *);
INT PreviewEan128(_BarCodeAttr *);
INT PreviewEan13(_BarCodeAttr *);
INT PreviewEan14(_BarCodeAttr *);
INT PreviewEan8(_BarCodeAttr *);
INT PreviewItf14(_BarCodeAttr *);
INT PreviewPost(_BarCodeAttr *);
INT PreviewUpca(_BarCodeAttr *);
INT PreviewUpce(_BarCodeAttr *);
#ifdef __cplusplus
} /* End of extern "C" { */
#endif /* __cplusplus */
#endif