ocrclass: Remove unused macros

Signed-off-by: Stefan Weil <sw@weilnetz.de>

# Conflicts:
#	src/ccutil/ocrclass.h
This commit is contained in:
zdenop 2018-11-08 20:23:36 +01:00
parent 28df28123e
commit 7a7f226228

View File

@ -1,7 +1,7 @@
/********************************************************************** /**********************************************************************
* File: ocrclass.h * File: ocrclass.h
* Description: Class definitions and constants for the OCR API. * Description: Class definitions and constants for the OCR API.
* Author: Hewlett-Packard Co * Author: Hewlett-Packard Co
* *
* (C) Copyright 1996, Hewlett-Packard Co. * (C) Copyright 1996, Hewlett-Packard Co.
** Licensed under the Apache License, Version 2.0 (the "License"); ** Licensed under the Apache License, Version 2.0 (the "License");
@ -19,26 +19,16 @@
/********************************************************************** /**********************************************************************
* This file contains typedefs for all the structures used by * This file contains typedefs for all the structures used by
* the HP OCR interface. * the HP OCR interface.
* The code is designed to be used with either a C or C++ compiler.
* The structures are designed to allow them to be used with any * The structures are designed to allow them to be used with any
* structure alignment up to 8. * structure alignment up to 8.
**********************************************************************/ **********************************************************************/
#ifndef CCUTIL_OCRCLASS_H_ #ifndef CCUTIL_OCRCLASS_H_
#define CCUTIL_OCRCLASS_H_ #define CCUTIL_OCRCLASS_H_
#include <ctime>
#include <chrono>
#include "host.h"
/*Maximum lengths of various strings*/ #include <ctime>
#define MAX_FONT_NAME 34 /*name of font */ #include <chrono>
#define MAX_OCR_NAME 32 /*name of engine */ #include "host.h"
#define MAX_OCR_VERSION 17 /*version code of engine */
/*pitch set definitions are identical to RTF*/
#define PITCH_DEF 0 /*default */
#define PITCH_FIXED 1 /*fixed pitch */
#define PITCH_VAR 2 /*variable pitch */
/********************************************************************** /**********************************************************************
* EANYCODE_CHAR * EANYCODE_CHAR