27 #ifndef CCUTIL_OCRCLASS_H_
28 #define CCUTIL_OCRCLASS_H_
42 #define MAX_FONT_NAME 34
43 #define MAX_OCR_NAME 32
44 #define MAX_OCR_VERSION 17
125 ETEXT_DESC() : count(0), progress(0), more_to_come(0), ocr_alive(0),
126 err_code(0), cancel(
NULL), cancel_this(
NULL) {
134 inT32 deadline_secs = deadline_msecs / 1000;
136 end_time.tv_usec += (deadline_msecs - deadline_secs * 1000) * 1000;
153 #endif // CCUTIL_OCRCLASS_H_
void set_deadline_msecs(inT32 deadline_msecs)
bool deadline_exceeded() const
int gettimeofday(struct timeval *tp, struct timezone *tzp)
bool(* CANCEL_FUNC)(void *cancel_this, int words)