mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-06-06 01:04:57 +08:00
ocrclass: Remove unused macros
Signed-off-by: Stefan Weil <sw@weilnetz.de> # Conflicts: # src/ccutil/ocrclass.h
This commit is contained in:
parent
28df28123e
commit
7a7f226228
@ -1,7 +1,7 @@
|
||||
/**********************************************************************
|
||||
* File: ocrclass.h
|
||||
* Description: Class definitions and constants for the OCR API.
|
||||
* Author: Hewlett-Packard Co
|
||||
* Author: Hewlett-Packard Co
|
||||
*
|
||||
* (C) Copyright 1996, Hewlett-Packard Co.
|
||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@ -19,26 +19,16 @@
|
||||
/**********************************************************************
|
||||
* This file contains typedefs for all the structures used by
|
||||
* 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
|
||||
* structure alignment up to 8.
|
||||
**********************************************************************/
|
||||
|
||||
#ifndef CCUTIL_OCRCLASS_H_
|
||||
#define CCUTIL_OCRCLASS_H_
|
||||
#include <ctime>
|
||||
#include <chrono>
|
||||
#include "host.h"
|
||||
#ifndef CCUTIL_OCRCLASS_H_
|
||||
#define CCUTIL_OCRCLASS_H_
|
||||
|
||||
/*Maximum lengths of various strings*/
|
||||
#define MAX_FONT_NAME 34 /*name of font */
|
||||
#define MAX_OCR_NAME 32 /*name of engine */
|
||||
#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 */
|
||||
#include <ctime>
|
||||
#include <chrono>
|
||||
#include "host.h"
|
||||
|
||||
/**********************************************************************
|
||||
* EANYCODE_CHAR
|
||||
|
Loading…
Reference in New Issue
Block a user