ccmain/tesseractmain.h

Go to the documentation of this file.
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(                   //run from api
00034                const char *arg0,  //program name
00035                UINT16 lang        //language
00036               );
00037 INT16 setup_info(                     //setup dummy engine info
00038                  UINT16 lang,         //user language
00039                  const char *name,    //of engine
00040                  const char *version  //of engine
00041                 );
00042 INT16 read_image(               //read dummy image info
00043                  IMAGE *im_out  //output image
00044                 );
00045 #ifdef __MSW32__
00046 int WINAPI WinMain(  //main for windows //command line
00047                    HINSTANCE hInstance,
00048                    HINSTANCE hPrevInstance,
00049                    LPSTR lpszCmdLine,
00050                    int nCmdShow);
00051 LONG WINAPI WndProc(            //message handler
00052                     HWND hwnd,  //window with message
00053                     UINT msg,   //message typ
00054                     WPARAM wParam,
00055                     LPARAM lParam);
00056 int parse_args (                 /*refine arg list */
00057 int argc,                        /*no of input args */
00058 char *argv[],                    /*input args */
00059 char *arglist[]                  /*output args */
00060 );
00061 #endif //__MSW32__
00062 #endif

Generated on Wed Feb 28 19:49:07 2007 for Tesseract by  doxygen 1.5.1