tesseract/src/ccutil
Jaroslaw Kubik 217e5e5881 Add a context-aware progress monitor pointer
The progress_callback field in the ETEXT_DESC monitor type does not
take any 'context' parameter, which may make implementing callback
functions difficult and may require use of global variables.
The new function receives the ETEXT_DESC pointer as an argument.
This makes it possible to share the cancel_this field as context
carrier if required.
The change is backwards-compatible: the old pointer remains as a
member of the class, and the default value for the new pointer is
a function calling the classic progress notifier. This way the code
unaware of the new member will continue to work as before.
2018-05-29 21:48:51 +02:00
..
ambigs.cpp Rename all C-style headers (e.g. <stdio.h>) to C++ style (<cstdio>). 2018-05-20 00:52:04 +03:00
ambigs.h Use default keyword instead of empty ctors/dtors. 2018-05-21 13:35:46 +03:00
basedir.cpp Move sources into src dir. Update build scripts. 2018-04-25 11:02:54 +03:00
basedir.h Fix line endings 2018-04-25 19:04:50 +02:00
bits16.h Use standard bool instead of BOOL8. 2018-05-20 22:46:46 +03:00
bitvector.cpp Use std::max/std::min instead of MAX/MIN macros. 2018-05-20 17:49:48 +03:00
bitvector.h Rename all C-style headers (e.g. <stdio.h>) to C++ style (<cstdio>). 2018-05-20 00:52:04 +03:00
ccutil.cpp Use default keyword instead of empty ctors/dtors. 2018-05-21 13:35:46 +03:00
ccutil.h Use default keyword instead of empty ctors/dtors. 2018-05-21 13:35:46 +03:00
clst.cpp More fixes BOOL8 -> bool 2018-05-21 00:40:58 +03:00
clst.h More fixes BOOL8 -> bool 2018-05-21 00:40:58 +03:00
doubleptr.h Move sources into src dir. Update build scripts. 2018-04-25 11:02:54 +03:00
elst2.cpp More fixes BOOL8 -> bool 2018-05-21 00:40:58 +03:00
elst2.h More fixes BOOL8 -> bool 2018-05-21 00:40:58 +03:00
elst.cpp Rename all C-style headers (e.g. <stdio.h>) to C++ style (<cstdio>). 2018-05-20 00:52:04 +03:00
elst.h Fix some typos (most found by codespell) 2018-05-27 18:49:43 +02:00
errcode.cpp Move sources into src dir. Update build scripts. 2018-04-25 11:02:54 +03:00
errcode.h Fix line endings 2018-04-25 19:04:50 +02:00
fileerr.h Fix line endings 2018-04-25 19:04:50 +02:00
genericheap.h Use default keyword instead of empty ctors/dtors. 2018-05-21 13:35:46 +03:00
genericvector.h Fix some typos (most found by codespell) 2018-05-27 18:49:43 +02:00
globaloc.cpp Move sources into src dir. Update build scripts. 2018-04-25 11:02:54 +03:00
globaloc.h Fix line endings 2018-04-25 19:04:50 +02:00
helpers.h Rename all C-style headers (e.g. <stdio.h>) to C++ style (<cstdio>). 2018-05-20 00:52:04 +03:00
host.h Use using instead of typedef. Reason: https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Rt-using 2018-05-20 01:31:03 +03:00
indexmapbidi.cpp Fix file endings 2018-04-25 19:35:33 +02:00
indexmapbidi.h Use default keyword instead of empty ctors/dtors. 2018-05-21 13:35:46 +03:00
kdpair.h Use default keyword instead of empty ctors/dtors. 2018-05-21 13:35:46 +03:00
lsterr.h Move sources into src dir. Update build scripts. 2018-04-25 11:02:54 +03:00
mainblk.cpp Move sources into src dir. Update build scripts. 2018-04-25 11:02:54 +03:00
Makefile.am Update Makefile.am 2018-05-19 01:42:57 -05:00
memry.cpp Move sources into src dir. Update build scripts. 2018-04-25 11:02:54 +03:00
memry.h Move sources into src dir. Update build scripts. 2018-04-25 11:02:54 +03:00
ndminx.h Fix line endings 2018-04-25 19:04:50 +02:00
nwmain.h Move sources into src dir. Update build scripts. 2018-04-25 11:02:54 +03:00
object_cache.h Use default keyword instead of empty ctors/dtors. 2018-05-21 13:35:46 +03:00
ocrclass.h Add a context-aware progress monitor pointer 2018-05-29 21:48:51 +02:00
params.cpp Move sources into src dir. Update build scripts. 2018-04-25 11:02:54 +03:00
params.h Use default keyword instead of empty ctors/dtors. 2018-05-21 13:35:46 +03:00
platform.h Move sources into src dir. Update build scripts. 2018-04-25 11:02:54 +03:00
qrsequence.h Fix some typos (most found by codespell) 2018-05-27 18:49:43 +02:00
scanutils.cpp Use numeric_limits instead of INT_MAX. 2018-05-20 14:49:35 +03:00
scanutils.h Rename all C-style headers (e.g. <stdio.h>) to C++ style (<cstdio>). 2018-05-20 00:52:04 +03:00
serialis.cpp Rename all C-style headers (e.g. <stdio.h>) to C++ style (<cstdio>). 2018-05-20 00:52:04 +03:00
serialis.h Rename all C-style headers (e.g. <stdio.h>) to C++ style (<cstdio>). 2018-05-20 00:52:04 +03:00
sorthelper.h Rename all C-style headers (e.g. <stdio.h>) to C++ style (<cstdio>). 2018-05-20 00:52:04 +03:00
stderr.h Fix line endings 2018-04-25 19:04:50 +02:00
strngs.cpp Use standard bool instead of BOOL8. 2018-05-20 22:46:46 +03:00
strngs.h Merge pull request #1588 from ZaMaZaN4iK/fix_own_bool 2018-05-23 16:53:12 +03:00
tesscallback.h Move sources into src dir. Update build scripts. 2018-04-25 11:02:54 +03:00
tessdatamanager.cpp Rename all C-style headers (e.g. <stdio.h>) to C++ style (<cstdio>). 2018-05-20 00:52:04 +03:00
tessdatamanager.h Use default keyword instead of empty ctors/dtors. 2018-05-21 13:35:46 +03:00
tprintf.cpp Move sources into src dir. Update build scripts. 2018-04-25 11:02:54 +03:00
tprintf.h Fix line endings 2018-04-25 19:04:50 +02:00
unichar.cpp Move sources into src dir. Update build scripts. 2018-04-25 11:02:54 +03:00
unichar.h Use using instead of typedef. Reason: https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Rt-using 2018-05-20 01:31:03 +03:00
unicharcompress.cpp Use using instead of typedef. Reason: https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Rt-using 2018-05-20 01:31:03 +03:00
unicharcompress.h Fix some typos (most found by codespell) 2018-05-27 18:49:43 +02:00
unicharmap.cpp Use default keyword instead of empty ctors/dtors. 2018-05-21 13:35:46 +03:00
unicharmap.h Fix line endings 2018-04-25 19:04:50 +02:00
unicharset.cpp Fix some typos (most found by codespell) 2018-05-27 18:49:43 +02:00
unicharset.h Fix some typos (most found by codespell) 2018-05-27 18:49:43 +02:00
unicity_table.h Move sources into src dir. Update build scripts. 2018-04-25 11:02:54 +03:00
unicodes.cpp Move sources into src dir. Update build scripts. 2018-04-25 11:02:54 +03:00
unicodes.h Fix line endings 2018-04-25 19:04:50 +02:00
universalambigs.cpp Fix line endings 2018-04-25 19:04:50 +02:00
universalambigs.h Fix line endings 2018-04-25 19:04:50 +02:00