~ubuntu-branches/ubuntu/vivid/tesseract/vivid

« back to all changes in this revision

Viewing changes to api/tesseractmain.h

  • Committer: Package Import Robot
  • Author(s): Jeff Breidenbach
  • Date: 2014-02-03 11:10:20 UTC
  • mfrom: (1.3.1) (19.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20140203111020-igquodd7pjlp3uri
Tags: 3.03.01-1
* New upstream release, includes critical fix to PDF rendering
* Complete leptonlib transition (see bug #735509)
* Promote from experimental to unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/**********************************************************************
2
 
 * File:        tessedit.h  (Formerly tessedit.h)
3
 
 * Description: Main program for merge of tess and editor.
4
 
 * Author:              Ray Smith
5
 
 * Created:             Tue Jan 07 15:21:46 GMT 1992
6
 
 *
7
 
 * (C) Copyright 1992, Hewlett-Packard Ltd.
8
 
 ** Licensed under the Apache License, Version 2.0 (the "License");
9
 
 ** you may not use this file except in compliance with the License.
10
 
 ** You may obtain a copy of the License at
11
 
 ** http://www.apache.org/licenses/LICENSE-2.0
12
 
 ** Unless required by applicable law or agreed to in writing, software
13
 
 ** distributed under the License is distributed on an "AS IS" BASIS,
14
 
 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
 
 ** See the License for the specific language governing permissions and
16
 
 ** limitations under the License.
17
 
 *
18
 
 **********************************************************************/
19
 
 
20
 
#ifndef           TESSERACTMAIN_H
21
 
#define           TESSERACTMAIN_H
22
 
 
23
 
#ifdef _WIN32
24
 
/**
25
 
 * main for windows command line
26
 
 */
27
 
int WINAPI WinMain(HINSTANCE hInstance,
28
 
                   HINSTANCE hPrevInstance,
29
 
                   LPSTR lpszCmdLine,
30
 
                   int nCmdShow);
31
 
/**
32
 
 * message handler
33
 
 * @param hwnd window with message
34
 
 * @param msg message type
35
 
 */
36
 
LONG WINAPI WndProc(HWND hwnd,
37
 
                    UINT msg,
38
 
                    WPARAM wParam,
39
 
                    LPARAM lParam);
40
 
/**
41
 
 * refine argument list
42
 
 * @param argc number of input arguments
43
 
 * @param argv input arguments
44
 
 * @param arglist output arguments
45
 
 */
46
 
int parse_args (int argc,
47
 
                char *argv[],
48
 
                char *arglist[]);
49
 
#endif
50
 
#endif