Skip to content

Commit 7a7f226

Browse files
committed
ocrclass: Remove unused macros
Signed-off-by: Stefan Weil <sw@weilnetz.de> # Conflicts: # src/ccutil/ocrclass.h
1 parent 28df281 commit 7a7f226

File tree

1 file changed

+6
-16
lines changed

1 file changed

+6
-16
lines changed

src/ccutil/ocrclass.h

+6-16
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**********************************************************************
22
* File: ocrclass.h
33
* Description: Class definitions and constants for the OCR API.
4-
* Author: Hewlett-Packard Co
4+
* Author: Hewlett-Packard Co
55
*
66
* (C) Copyright 1996, Hewlett-Packard Co.
77
** Licensed under the Apache License, Version 2.0 (the "License");
@@ -19,26 +19,16 @@
1919
/**********************************************************************
2020
* This file contains typedefs for all the structures used by
2121
* the HP OCR interface.
22-
* The code is designed to be used with either a C or C++ compiler.
2322
* The structures are designed to allow them to be used with any
2423
* structure alignment up to 8.
2524
**********************************************************************/
2625

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_
3228

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"
4232

4333
/**********************************************************************
4434
* EANYCODE_CHAR

0 commit comments

Comments
 (0)