|
1 | 1 | /**********************************************************************
|
2 | 2 | * File: ocrclass.h
|
3 | 3 | * Description: Class definitions and constants for the OCR API.
|
4 |
| - * Author: Hewlett-Packard Co |
| 4 | + * Author: Hewlett-Packard Co |
5 | 5 | *
|
6 | 6 | * (C) Copyright 1996, Hewlett-Packard Co.
|
7 | 7 | ** Licensed under the Apache License, Version 2.0 (the "License");
|
|
19 | 19 | /**********************************************************************
|
20 | 20 | * This file contains typedefs for all the structures used by
|
21 | 21 | * the HP OCR interface.
|
22 |
| - * The code is designed to be used with either a C or C++ compiler. |
23 | 22 | * The structures are designed to allow them to be used with any
|
24 | 23 | * structure alignment up to 8.
|
25 | 24 | **********************************************************************/
|
26 | 25 |
|
27 |
| -#ifndef CCUTIL_OCRCLASS_H_ |
28 |
| -#define CCUTIL_OCRCLASS_H_ |
29 |
| -#include <ctime> |
30 |
| -#include <chrono> |
31 |
| -#include "host.h" |
| 26 | +#ifndef CCUTIL_OCRCLASS_H_ |
| 27 | +#define CCUTIL_OCRCLASS_H_ |
32 | 28 |
|
33 |
| -/*Maximum lengths of various strings*/ |
34 |
| -#define MAX_FONT_NAME 34 /*name of font */ |
35 |
| -#define MAX_OCR_NAME 32 /*name of engine */ |
36 |
| -#define MAX_OCR_VERSION 17 /*version code of engine */ |
37 |
| - |
38 |
| -/*pitch set definitions are identical to RTF*/ |
39 |
| -#define PITCH_DEF 0 /*default */ |
40 |
| -#define PITCH_FIXED 1 /*fixed pitch */ |
41 |
| -#define PITCH_VAR 2 /*variable pitch */ |
| 29 | +#include <ctime> |
| 30 | +#include <chrono> |
| 31 | +#include "host.h" |
42 | 32 |
|
43 | 33 | /**********************************************************************
|
44 | 34 | * EANYCODE_CHAR
|
|
0 commit comments