30#include <qstringlist.h>
33#define round(x) floor(x+0.55555555)
44# define Sleep(a) usleep((a)*1000)
50#if defined(Q_OS_WIN32) && !defined(LIB_NO_DLL)
51# define LIB_DLLIMPORT __declspec(dllimport)
52# define LIB_DLLEXPORT __declspec(dllexport)
58#if defined (Q_CC_MSVC)
59#define TEMPLATE_EXTERN extern
61#define TEMPLATE_EXTERN
64#ifdef TRADEEQUIP_EXPORT
65# define LIB_EXPORT LIB_DLLEXPORT
67# define LIB_EXPORT LIB_DLLIMPORT
70#ifdef TRADEEQUIP_EXPORT
71# define LIB_TEMPLATE_EXTERN
73# define LIB_TEMPLATE_EXTERN TEMPLATE_EXTERN
77# define vsnprintf _vsnprintf
95template <
class U,
class V>
96U min(
const U &
a,
const V &
b)
98 if (
a<=(
const U&)
b)
return a;
else return (
const U&)
b;
101template <
class U,
class V>
102U max(
const U &
a,
const V &
b)
104 if (
a>=(
const U&)
b)
return a;
else return (
const U&)
b;
111#define CRERROR_NOTSUPPORTED 1
112#define CRERROR_DEVICEERROR 2
113#define CRERROR_INVALIDCALL 3
114#define CRERROR_FATALDEVICEERROR 4
115#define CRERROR_COMMERROR 5
144 ECT_NOCONNECTION =0x0,
158 CRO_SELLSTORNO = 0x4,
163 CRO_DISCOUNTPERCENT = 0x9,
180LIB_EXPORT
int te_MD5_selftest();
The TE class is a namespace for miscellaneous identifiers that need to be global-like in trade equipm...
Definition teglobal.h:129
CaptureMode
Define connection capture mode for setCaptureMode()
Definition teglobal.h:135
CashRegisterOperations
Definition teglobal.h:153
EquipmentConnectionType
Definition teglobal.h:143