00001
00020 #ifndef TESSERACTMAIN_H
00021 #define TESSERACTMAIN_H
00022
00023 #include "varable.h"
00024 #include "tessclas.h"
00025 #include "notdll.h"
00026 #include "tessembedded.h"
00027
00030 extern BOOL_VAR_H (tessedit_read_image, TRUE, "Ensure the image is read");
00033 INT32 api_main(
00034 const char *arg0,
00035 UINT16 lang
00036 );
00037 INT16 setup_info(
00038 UINT16 lang,
00039 const char *name,
00040 const char *version
00041 );
00042 INT16 read_image(
00043 IMAGE *im_out
00044 );
00045 #ifdef __MSW32__
00046 int WINAPI WinMain(
00047 HINSTANCE hInstance,
00048 HINSTANCE hPrevInstance,
00049 LPSTR lpszCmdLine,
00050 int nCmdShow);
00051 LONG WINAPI WndProc(
00052 HWND hwnd,
00053 UINT msg,
00054 WPARAM wParam,
00055 LPARAM lParam);
00056 int parse_args (
00057 int argc,
00058 char *argv[],
00059 char *arglist[]
00060 );
00061 #endif //__MSW32__
00062 #endif