Remove file tessedit.h

It only declared the unused global variable global_monitor
which is now removed, too.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2019-03-27 18:42:01 +01:00
parent 6e59abcce2
commit 852598eecf
4 changed files with 1 additions and 33 deletions

View File

@ -42,7 +42,6 @@ noinst_HEADERS = \
paramsd.h \
pgedit.h \
reject.h \
tessedit.h \
tesseractclass.h \
tessvars.h \
werdit.h

View File

@ -29,7 +29,6 @@
#include "pgedit.h"
#include "reject.h"
#include "stopper.h"
#include "tessedit.h"
#include "tessvars.h"
#include "tprintf.h"
#ifndef DISABLED_LEGACY_ENGINE
@ -48,8 +47,6 @@
// config under api
#define API_CONFIG "configs/api_config"
ETEXT_DESC* global_monitor = nullptr; // progress monitor
namespace tesseract {
// Read a "config" file containing a set of variable, value pairs.

View File

@ -1,28 +0,0 @@
/**********************************************************************
* File: tessedit.h (Formerly tessedit.h)
* Description: Main program for merge of tess and editor.
* Author: Ray Smith
* Created: Tue Jan 07 15:21:46 GMT 1992
*
* (C) Copyright 1992, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
** http://www.apache.org/licenses/LICENSE-2.0
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*
**********************************************************************/
#ifndef TESSEDIT_H
#define TESSEDIT_H
class ETEXT_DESC;
//progress monitor
extern ETEXT_DESC *global_monitor;
#endif

View File

@ -510,7 +510,7 @@ class Tesseract : public Wordrec {
const char* lengths);
int16_t count_alphanums(const WERD_CHOICE &word);
int16_t count_alphas(const WERD_CHOICE &word);
//// tessedit.h ////////////////////////////////////////////////////////
void read_config_file(const char *filename, SetParamConstraint constraint);
// Initialize for potentially a set of languages defined by the language
// string and recursively any additional languages required by any language