00001
00016 #ifndef __VVXTRCOMM_H__
00017 #define __VVXTRCOMM_H__
00018
00019
00020 #include "vvxtrDefs.h"
00021
00022 #undef commandtable
00023 #define commandtable( A, B, C ) A,
00024
00025 enum vvxtrCommandKeyEnum
00026 {
00027 #include "commandKey.table"
00028 VVXTR_NUM_COMMANDS
00029 };
00030
00031 #undef actiontable
00032 #define actiontable( A, B ) xtract_##A,
00033
00034 enum vvxtrActionEnum
00035 {
00036 #include "actions.table"
00037 VVXTR_NUM_ACTIONS
00038 };
00039
00040 #undef statustable
00041 #define statustable( key, action, type ) dm_##key,
00042
00043 enum vvxtrStatusEnum
00044 {
00045 #include "statusTable.table"
00046 VVXTR_NUM_STATUS_TYPES
00047 };
00048
00049 struct vvxtrKeyValuePair
00050 {
00051 const char * keyword;
00052 const char * value;
00053 } ;
00054
00055
00056 enum { vvOcrListenPort = 10101, vvOcrLicensePort= 10102 };
00057
00058
00059 enum TransferType
00060 {
00061 ttInvalid =0,
00062 ttDoc,
00063 ttImage,
00064 ttImageFile,
00065 ttDocFile,
00066 ttImageFileLocal,
00067 ttDocFileLocal
00068 };
00069
00070 #define TRANSFER_TIMEOUT 25
00071 #define XTR_READY "xtrReady"
00072
00073 #endif
00074