Skip to content

Commit

Permalink
ocrclass: Remove unused macros
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <sw@weilnetz.de>

# Conflicts:
#	src/ccutil/ocrclass.h
  • Loading branch information
zdenop committed Nov 8, 2018
1 parent 28df281 commit 7a7f226
Showing 1 changed file with 6 additions and 16 deletions.
22 changes: 6 additions & 16 deletions src/ccutil/ocrclass.h
@@ -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");
Expand All @@ -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
Expand Down

0 comments on commit 7a7f226

Please sign in to comment.