remove unused code (Windows related)

git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@860 d0cd1f9f-072b-0410-8dd7-cf729c803f20
This commit is contained in:
zdenop@gmail.com 2013-07-08 18:21:10 +00:00
parent b5d3d66a68
commit 10c1169d98
126 changed files with 9 additions and 434 deletions

View File

@ -17,12 +17,6 @@
*
**********************************************************************/
// #define USE_VLD //Uncomment for Visual Leak Detector.
#if (defined _MSC_VER && defined USE_VLD)
#include "mfcpch.h"
#include <vld.h>
#endif
// Include automatically generated configuration file if running autoconf
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
@ -32,7 +26,6 @@
#include "baseapi.h"
#include "basedir.h"
#include "strngs.h"
#include "tesseractmain.h"
#include "tprintf.h"
/**********************************************************************
@ -229,149 +222,3 @@ int main(int argc, char **argv) {
return 0; // Normal exit
}
#ifdef _WIN32
char szAppName[] = "Tesseract"; //app name
int initialized = 0;
/**********************************************************************
* WinMain
*
* Main function for a windows program.
**********************************************************************/
int WINAPI WinMain( //main for windows //command line
HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpszCmdLine,
int nCmdShow) {
WNDCLASS wc;
HWND hwnd;
MSG msg;
char **argv;
char *argsin[2];
int argc;
int exit_code;
wc.style = CS_NOCLOSE | CS_OWNDC;
wc.lpfnWndProc = (WNDPROC) WndProc;
wc.cbClsExtra = 0;
wc.cbWndExtra = 0;
wc.hInstance = hInstance;
wc.hIcon = NULL; //LoadIcon (NULL, IDI_APPLICATION);
wc.hCursor = NULL; //LoadCursor (NULL, IDC_ARROW);
wc.hbrBackground = (HBRUSH) (COLOR_WINDOW + 1);
wc.lpszMenuName = NULL;
wc.lpszClassName = szAppName;
RegisterClass(&wc);
hwnd = CreateWindow (szAppName, szAppName,
WS_OVERLAPPEDWINDOW | WS_DISABLED,
CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
CW_USEDEFAULT, HWND_DESKTOP, NULL, hInstance, NULL);
argsin[0] = strdup (szAppName);
argsin[1] = strdup (lpszCmdLine);
/*allocate memory for the args. There can never be more than half*/
/*the total number of characters in the arguments.*/
argv = (char **)malloc(((strlen(argsin[0]) + strlen(argsin[1])) / 2 + 1) *
sizeof(char *));
/*now construct argv as it should be for C.*/
argc = parse_args (2, argsin, argv);
// ShowWindow (hwnd, nCmdShow);
// UpdateWindow (hwnd);
if (initialized) {
exit_code = main (argc, argv);
free (argsin[0]);
free (argsin[1]);
free(argv);
return exit_code;
}
while (GetMessage (&msg, NULL, 0, 0)) {
TranslateMessage(&msg);
DispatchMessage(&msg);
if (initialized) {
exit_code = main (argc, argv);
break;
}
else
exit_code = msg.wParam;
}
free (argsin[0]);
free (argsin[1]);
free(argv);
return exit_code;
}
/**********************************************************************
* WndProc
*
* Function to respond to messages.
**********************************************************************/
LONG WINAPI WndProc( //message handler
HWND hwnd, //window with message
UINT msg, //message typ
WPARAM wParam,
LPARAM lParam) {
HDC hdc;
if (msg == WM_CREATE) {
//
// Create a rendering context.
//
hdc = GetDC (hwnd);
ReleaseDC(hwnd, hdc);
initialized = 1;
return 0;
}
return DefWindowProc (hwnd, msg, wParam, lParam);
}
/**********************************************************************
* parse_args
*
* Turn a list of args into a new list of args with each separate
* whitespace spaced string being an arg.
**********************************************************************/
int
parse_args ( /*refine arg list */
int argc, /*no of input args */
char *argv[], /*input args */
char *arglist[] /*output args */
) {
int argcount; /*converted argc */
char *testchar; /*char in option string */
int arg; /*current argument */
argcount = 0; /*no of options */
for (arg = 0; arg < argc; arg++) {
testchar = argv[arg]; /*start of arg */
do {
while (*testchar
&& (*testchar == ' ' || *testchar == '\n'
|| *testchar == '\t'))
testchar++; /*skip white space */
if (*testchar) {
/*new arg */
arglist[argcount++] = testchar;
/*skip to white space */
for (testchar++; *testchar && *testchar != ' ' && *testchar != '\n' && *testchar != '\t'; testchar++) ;
if (*testchar)
*testchar++ = '\0'; /*turn to separate args */
}
}
while (*testchar);
}
return argcount; /*new number of args */
}
#endif

View File

@ -23,8 +23,6 @@
#pragma warning(disable:4305) // int/float warnings
#endif
#include "mfcpch.h"
#ifdef __UNIX__
#include <assert.h>
#endif

View File

@ -16,7 +16,6 @@
** limitations under the License.
*
**********************************************************************/
#include "mfcpch.h"
#ifdef _MSC_VER
#pragma warning(disable:4244) // Conversion warnings

View File

@ -18,8 +18,6 @@
*
**********************************************************************/
#include "mfcpch.h"
#include <string.h>
#include <math.h>
#ifdef __UNIX__
@ -42,7 +40,6 @@
#include "secname.h"
#include "output.h"
#include "callcpp.h"
#include "notdll.h"
#include "globals.h"
#include "sorthelper.h"
#include "tesseractclass.h"

View File

@ -30,7 +30,6 @@
#include "ratngs.h"
#include "statistc.h"
#include "pageres.h"
#include "notdll.h"
enum ACCEPTABLE_WERD_TYPE
{

View File

@ -21,7 +21,6 @@
#pragma warning(disable:4244) // Conversion warnings
#endif
#include "mfcpch.h"
#include <ctype.h>
#include "docqual.h"
#include "tfacep.h"

View File

@ -21,7 +21,6 @@
#define DOCQUAL_H
#include "control.h"
#include "notdll.h"
enum GARBAGE_LEVEL
{

View File

@ -19,7 +19,6 @@
*
**********************************************************************/
#include "mfcpch.h"
#include <ctype.h>
#include "reject.h"
#include "statistc.h"

View File

@ -24,7 +24,6 @@
#include "pageres.h"
#include "params.h"
#include "notdll.h"
void initialise_search(WERD_RES_LIST &src_list, WERD_RES_LIST &new_list);
void transform_to_next_perm(WERD_RES_LIST &words);

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h"
#include <string.h>
#include <ctype.h>
#include "params.h"

View File

@ -31,7 +31,6 @@
#pragma warning(disable:4244) // Conversion warnings
#endif
#include "mfcpch.h"
#include <stdio.h>
#include <stdlib.h>
#include "errcode.h"

View File

@ -21,7 +21,6 @@
#pragma warning(disable:4244) // Conversion warnings
#endif
#include "mfcpch.h"
#include <string.h>
#include <ctype.h>
#ifdef __UNIX__

View File

@ -23,7 +23,6 @@
#include "params.h"
//#include "epapconv.h"
#include "pageres.h"
#include "notdll.h"
/** test line ends */
char determine_newline_type(WERD *word, ///< word to do

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h"
#include "pageres.h"
#include "tesseractclass.h"

View File

@ -25,7 +25,6 @@
#include "werd.h"
#include "rect.h"
#include "params.h"
#include "notdll.h"
#include "tesseractclass.h"
class ScrollView;

View File

@ -22,8 +22,6 @@
#pragma warning(disable:4305) // int/float warnings
#endif
#include "mfcpch.h"
#include "tessvars.h"
#ifdef __UNIX__
#include <assert.h>
@ -45,7 +43,6 @@
/* #define SECURE_NAMES done in secnames.h when necessary */
#include "tesseractclass.h"
#include "notdll.h"
// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H

View File

@ -22,7 +22,6 @@
#include "params.h"
#include "pageres.h"
#include "notdll.h"
void reject_blanks(WERD_RES *word);
void reject_poor_matches(WERD_RES *word, BLOB_CHOICE_LIST_CLIST *blob_choices);

View File

@ -28,14 +28,11 @@
#pragma warning(disable:4244) // Conversion warnings
#endif
#include "mfcpch.h"
#include <stdlib.h>
#include <string.h>
#include "fileerr.h"
#include "tprintf.h"
//#include "grphics.h"
#include "img.h"
//#include "basefile.h"
#include "imgscale.h"
#include "scaleimg.h"

View File

@ -21,7 +21,6 @@
#pragma warning(disable:4244) // Conversion warnings
#endif
#include "mfcpch.h"
#include "tfacep.h"
#include "tfacepp.h"
#include "tessbox.h"

View File

@ -21,7 +21,6 @@
#define TESSBOX_H
#include "ratngs.h"
#include "notdll.h"
#include "tesseractclass.h"
// TODO(ocr-team): Delete this along with other empty header files.

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h"
//#include <osfcn.h>
//#include <signal.h>
//#include <time.h>
@ -51,8 +50,6 @@
#include "tesseractclass.h"
#include "params.h"
#include "notdll.h" //phils nn stuff
#define VARDIR "configs/" /*variables files */
//config under api
#define API_CONFIG "configs/api_config"

View File

@ -22,7 +22,6 @@
#include "blobs.h"
#include "pgedit.h"
#include "notdll.h"
//progress monitor
extern ETEXT_DESC *global_monitor;

View File

@ -19,7 +19,6 @@
#include <stdio.h>
#include "mfcpch.h"
#include "tessvars.h"
FILE *debug_fp = stderr; // write debug stuff here

View File

@ -23,7 +23,6 @@
#include <stdio.h>
#include "img.h"
#include "notdll.h"
extern FILE *debug_fp; // write debug stuff here
#endif

View File

@ -20,10 +20,9 @@
#ifndef TFACEP_H
#define TFACEP_H
#include "hosthplb.h"
#include "host.h"
#include "blobs.h"
#include "tessarray.h"
#include "notdll.h"
#include "oldlist.h"
#include "permute.h"
#include "blobclass.h"

View File

@ -25,7 +25,6 @@
#include <math.h>
#include "mfcpch.h"
#ifdef __UNIX__
#include <assert.h>
#endif

View File

@ -22,7 +22,6 @@
#include "ratngs.h"
#include "blobs.h"
#include "notdll.h"
#include "tesseractclass.h"
void call_tester( //call a tester

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h"
#include "werdit.h"
/**********************************************************************

View File

@ -21,7 +21,6 @@
#define WERDIT_H
#include "pageres.h"
#include "notdll.h"
WERD *make_pseudo_word(PAGE_RES* page_res, // blocks to check
TBOX &selection_box,

View File

@ -10,7 +10,7 @@ endif
include_HEADERS = publictypes.h
noinst_HEADERS = \
blckerr.h blobbox.h blobs.h blread.h boxread.h boxword.h ccstruct.h coutln.h crakedge.h \
detlinefit.h dppoint.h fontinfo.h genblob.h hpddef.h hpdsizes.h ipoints.h \
detlinefit.h dppoint.h fontinfo.h genblob.h hpdsizes.h ipoints.h \
linlsq.h matrix.h mod128.h normalis.h \
ocrblock.h ocrpara.h ocrrow.h otsuthr.h \
pageres.h params_training_featdef.h \

View File

@ -22,7 +22,6 @@
#include "config_auto.h"
#endif
#include "mfcpch.h"
#include "blobbox.h"
#include "helpers.h"

View File

@ -31,7 +31,6 @@
#include "config_auto.h"
#endif
#include "mfcpch.h"
#include "blobs.h"
#include "ccstruct.h"
#include "clst.h"

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h"
#include <stdlib.h>
#ifdef __UNIX__
#include <assert.h>

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h"
#include "boxread.h"
#include <string.h>

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h"
#include <string.h>
#ifdef __UNIX__
#include <assert.h>

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h"
#include "genblob.h"
#include "stepblob.h"

View File

@ -1,39 +0,0 @@
/**********************************************************************
* File: hpddef.h
* Description: Defines for dll symbols for handpd.dll.
* Author: Ray Smith
* Created: Tue Apr 30 17:15:01 MDT 1996
*
* (C) Copyright 1996, Hewlett-Packard Co.
** 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.
*
**********************************************************************/
//This file does NOT use the usual single inclusion code as it
//is necessary to allow it to be executed every time it is included.
//#ifndef HPDDEF_H
//#define HPDDEF_H
#undef DLLSYM
#ifndef __IPEDLL
# define DLLSYM
#else
# ifdef __BUILDING_HANDPD__
# define DLLSYM DLLEXPORT
# else
# define DLLSYM DLLIMPORT
# endif
#endif
#if defined(__CFM68K__) && !defined(__USING_STATIC_LIBS__)
# pragma import on
#endif
//#endif

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h" // Must be first include for windows.
#include <stdio.h>
#include <math.h>
#include "errcode.h"

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h" //precompiled headers
#include "mod128.h"
const inT16 idirtab[] = {

View File

@ -16,7 +16,6 @@
** limitations under the License.
*
**********************************************************************/
#include "mfcpch.h" // Precompiled header include must be first.
#include "normalis.h"

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h"
#include <stdlib.h>
#include "blckerr.h"
#include "ocrblock.h"

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h"
#include "ocrrow.h"
#include "blobbox.h"

View File

@ -16,7 +16,6 @@
** limitations under the License.
*
**********************************************************************/
#include "mfcpch.h"
#include <stdlib.h>
#ifdef __UNIX__
#include <assert.h>

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h"
#include <stdlib.h>
#include "allheaders.h"
#include "blckerr.h"
@ -29,8 +28,6 @@
#include "config_auto.h"
#endif
#include "hpddef.h" //must be last (handpd.dll)
#define BLOCK_LABEL_HEIGHT 150 //char height of block id
CLISTIZE (PDBLK)

View File

@ -25,8 +25,6 @@
#include "strngs.h"
#include "polyblk.h"
#include "hpddef.h" //must be last (handpd.dll)
class DLLSYM PDBLK; //forward decl
struct Pix;

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h" //precompiled headers
#include <stdlib.h>
#include "helpers.h"
#include "ndminx.h"

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h"
#include <stdio.h>
#ifdef __UNIX__
#include <assert.h>

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h"
#include <ctype.h>
#include <math.h>
#include <stdio.h>
@ -29,8 +28,6 @@
#include "config_auto.h"
#endif
#include "hpddef.h" // must be last (handpd.dll)
#define PBLOCK_LABEL_SIZE 150
#define INTERSECTING MAX_INT16

View File

@ -25,8 +25,6 @@
#include "rect.h"
#include "scrollview.h"
#include "hpddef.h" // must be last (handpd.dll)
class DLLSYM POLY_BLOCK {
public:
POLY_BLOCK() {

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h"
#include <stdio.h>
#include <math.h>
#include "errcode.h"

View File

@ -17,5 +17,4 @@
*
**********************************************************************/
#include "mfcpch.h"
#include "quadratc.h"

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h"
#include "memry.h"
#include "quadlsq.h"
#include "quspline.h"

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h"
#include "ratngs.h"
#include "callcpp.h"

View File

@ -24,7 +24,6 @@
#include "clst.h"
#include "genericvector.h"
#include "notdll.h"
#include "unichar.h"
#include "unicharset.h"
#include "werd.h"

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h" // precompiled headers
#include "rect.h"
// Include automatically generated configuration file if running autoconf.

View File

@ -17,9 +17,7 @@
*
**********************************************************************/
#include "mfcpch.h"
#include "hosthplb.h"
//#include "basefile.h"
#include "host.h"
#include "rejctmap.h"
#include "secname.h"
#include "params.h"

View File

@ -47,7 +47,6 @@ OF THIS IMPLIED TEMPORAL ORDERING OF THE FLAGS!!!!
#include "memry.h"
#include "bits16.h"
#include "params.h"
#include "notdll.h"
enum REJ_FLAGS
{

View File

@ -22,7 +22,6 @@
#include "config_auto.h"
#endif
#include "mfcpch.h" //precompiled headers
#include "statistc.h"
#include <string.h>
#include <math.h>

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h"
#include "stepblob.h"
#include "allheaders.h"

View File

@ -29,7 +29,6 @@
/*----------------------------------------------------------------------
I n c l u d e s
----------------------------------------------------------------------*/
#include "mfcpch.h"
#include "vecfuncs.h"
/*----------------------------------------------------------------------

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h"
#include "blckerr.h"
#include "helpers.h"
#include "linlsq.h"

View File

@ -16,13 +16,12 @@ include_HEADERS = \
basedir.h errcode.h fileerr.h genericvector.h helpers.h host.h memry.h \
ndminx.h params.h ocrclass.h platform.h serialis.h strngs.h \
tesscallback.h unichar.h unicharmap.h unicharset.h
noinst_HEADERS = \
ambigs.h bits16.h bitvector.h ccutil.h clst.h elst2.h \
elst.h globaloc.h hashfn.h hosthplb.h indexmapbidi.h lsterr.h \
mfcpch.h notdll.h nwmain.h qrsequence.h secname.h \
sorthelper.h stderr.h tessdatamanager.h tprintf.h unicity_table.h \
unicodes.h
elst.h globaloc.h hashfn.h indexmapbidi.h lsterr.h \
nwmain.h qrsequence.h secname.h sorthelper.h stderr.h tessdatamanager.h \
tprintf.h unicity_table.h unicodes.h
if !USING_MULTIPLELIBS
noinst_LTLIBRARIES = libtesseract_ccutil.la

View File

@ -21,8 +21,6 @@
#include <stdlib.h>
#include "mfcpch.h" // Precompiled headers
// Assuming that code_path is the name of some file in a desired directory,
// returns the given code_path stripped back to the last slash, leaving
// the last slash in place. If there is no slash, returns ./ assuming that

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h"
#include "bits16.h"
/**********************************************************************

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h" //precompiled headers
#include <stdlib.h>
#include "clst.h"

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h" //precompiled headers
#include <stdlib.h>
#include "elst.h"

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h" //precompiled headers
#include <stdlib.h>
#include "host.h"
#include "elst2.h"

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h" //precompiled headers
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h"
#include <signal.h>
#include "errcode.h"
#include "tprintf.h"

View File

@ -20,8 +20,7 @@
#ifndef GLOBALOC_H
#define GLOBALOC_H
#include "hosthplb.h"
#include "notdll.h"
#include "host.h"
void signal_exit( //
int signal_code //Signal which

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h" //precompiled headers
#include "hashfn.h"
/**********************************************************************

View File

@ -1 +0,0 @@
#include "host.h"

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h"
#include "fileerr.h"
#ifdef __UNIX__
#include <unistd.h>

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h"
#include "memry.h"
#include <stdlib.h>

View File

@ -1,5 +0,0 @@
// mfcpch.cpp : source file that includes just the standard includes
// elist.pch will be the pre-compiled header
// mfcpch.obj will contain the pre-compiled type information
#include "mfcpch.h" //precompiled headers

View File

@ -1,37 +0,0 @@
// mfcpch.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
// For Unix and mac the file does nothing. It needs to be included in all cpp
// files for compatibility with the PC pre-compiled header mechanism.
#ifdef _WIN32
#ifndef _AFXDLL
#define WIN32_LEAN_AND_MEAN
#define STRICT 1
//#include <windows.h>
#include <stdlib.h>
#else
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
#include <afxwin.h> // mfc core and standard components
#include <afxext.h> // mfc extensions
#ifndef _AFX_NO_OLE_SUPPORT
#include <afxole.h> // mfc ole classes
#include <afxodlgs.h> // mfc ole dialog classes
#include <afxdisp.h> // mfc ole automation classes
#endif // _AFX_NO_OLE_SUPPORT
#ifndef _AFX_NO_DB_SUPPORT
#include <afxdb.h> // mfc odbc database classes
#endif // _AFX_NO_DB_SUPPORT
#ifndef _AFX_NO_DAO_SUPPORT
#include <afxdao.h> // mfc dao database classes
#endif // _AFX_NO_DAO_SUPPORT
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h> // mfc support for windows 95 common controls
#endif // _AFX_NO_AFXCMN_SUPPORT
#endif
#endif

View File

@ -1,28 +0,0 @@
/**********************************************************************
* File: notdll.h
* Description: Defines for dll symbols for any program using a dll.
* Author: Ray Smith
* Created: Tue Apr 30 16:15:01 MDT 1996
*
* (C) Copyright 1996, Hewlett-Packard Co.
** 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.
*
**********************************************************************/
//This file does NOT use the usual single inclusion code as it
//is necessary to allow it to be executed every time it is included.
//#ifndef NOTDLL_H
//#define NOTDLL_H
#undef DLLSYM
#define DLLSYM
//#endif

View File

@ -22,7 +22,6 @@
#include "host.h"
#include "params.h"
#include "notdll.h" //must be last include
#define DECLARE_MAIN(ARGC,ARGV)\
STRING_VAR(init_config_file,"config","Config file to read on startup");\

View File

@ -17,8 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h" //precompiled headers
#include <stdio.h>
#include <string.h>
#include <stdlib.h>

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h" //precompiled headers
#include "serialis.h"
#include "scanutils.h"

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h" // Precompiled headers
#include "helpers.h"
#include "tprintf.h"
#include "strngs.h"

View File

@ -17,8 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h" //precompiled headers
// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"

View File

@ -22,7 +22,6 @@
#include "config_auto.h"
#endif
#include "mfcpch.h"
#include "errcode.h"
#ifdef __UNIX__
#include <assert.h>

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h" //precompiled headers
#ifdef _WIN32
#include <io.h>
#else

View File

@ -28,14 +28,12 @@
----------------------------------------------------------------------
*/
#include "mfcpch.h"
#include <ctype.h>
#include <math.h>
#include "errcode.h"
#include "drawtord.h"
#include "blkocc.h"
#include "helpers.h"
#include "notdll.h"
double_VAR(textord_underline_threshold, 0.5, "Fraction of width occupied");

View File

@ -27,8 +27,6 @@
#include "params.h"
#include "elst.h"
#include "notdll.h"
#include "notdll.h"
/***************************************************************************
CLASS REGION_OCC

View File

@ -21,7 +21,6 @@
#define CJKPITCH_H_
#include "blobbox.h"
#include "notdll.h"
// Function to test "fixed-pitchness" of the input text and estimating
// character pitch parameters for it, based on CJK fixed-pitch layout

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h"
#include "drawedg.h"
// Include automatically generated configuration file if running autoconf.

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h"
#include "pithsync.h"
#include "topitch.h"
#include "drawtord.h"

View File

@ -24,7 +24,6 @@
#include "scrollview.h"
#include "pitsync1.h"
#include "blobbox.h"
#include "notdll.h"
#define NO_SMD "none"

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h"
#include "scanedg.h"
#include "drawedg.h"
#include "edgloop.h"

View File

@ -26,7 +26,6 @@
#include "ocrblock.h"
#include "coutln.h"
#include "crakedge.h"
#include "notdll.h"
#define BUCKETSIZE 16

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h"
#include "scanedg.h"
#include "drawedg.h"
#include "edgloop.h"

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h"
#ifdef __UNIX__
#include <assert.h>
#endif
@ -28,7 +27,6 @@
#include "tovars.h"
#include "topitch.h"
#include "fpchop.h"
#include "notdll.h"
// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H

View File

@ -22,8 +22,6 @@
#include "params.h"
#include "blobbox.h"
#include "notdll.h"
#include "notdll.h"
class C_OUTLINE_FRAG:public ELIST_LINK
{

View File

@ -1,4 +1,3 @@
#include "mfcpch.h"
#include "statistc.h"
#include "gap_map.h"

View File

@ -2,7 +2,6 @@
#define GAP_MAP_H
#include "blobbox.h"
#include "notdll.h"
class GAPMAP
{

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h"
#ifdef __UNIX__
#include <assert.h>
#endif

View File

@ -25,7 +25,6 @@
#include "blobs.h"
#include "blobbox.h"
#include "statistc.h"
#include "notdll.h"
enum OVERLAP_STATE
{

View File

@ -17,7 +17,6 @@
*
**********************************************************************/
#include "mfcpch.h"
#include "ccstruct.h"
#include "statistc.h"
#include "quadlsq.h"

Some files were not shown because too many files have changed in this diff Show More