~vcs-imports/tesseract-ocr/trunk

« back to all changes in this revision

Viewing changes to vs2010/include/leptonica/leptwin.h

  • Committer: zdenop at gmail
  • Date: 2012-02-26 15:30:05 UTC
  • Revision ID: svn-v4:d0cd1f9f-072b-0410-8dd7-cf729c803f20:trunk:681
vs2008 and vs2010 replaced with Tom Powers solution

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*====================================================================*
2
 
 -  Copyright (C) 2010 Leptonica.  All rights reserved.
3
 
 -  This software is distributed in the hope that it will be
4
 
 -  useful, but with NO WARRANTY OF ANY KIND.
5
 
 -  No author or distributor accepts responsibility to anyone for the
6
 
 -  consequences of using this software, or for whether it serves any
7
 
 -  particular purpose or works at all, unless he or she says so in
8
 
 -  writing.  Everyone is granted permission to copy, modify and
9
 
 -  redistribute this source code, for commercial or non-commercial
10
 
 -  purposes, with the following restrictions: (1) the origin of this
11
 
 -  source code must not be misrepresented; (2) modified versions must
12
 
 -  be plainly marked as such; and (3) this notice may not be removed
13
 
 -  or altered from any source or modified source distribution.
14
 
 *====================================================================*/
15
 
 
16
 
#ifdef _WIN32
17
 
#ifndef  LEPTONICA_LEPTWIN_H
18
 
#define  LEPTONICA_LEPTWIN_H
19
 
 
20
 
#include "allheaders.h"
21
 
#include <windows.h>
22
 
 
23
 
#ifdef __cplusplus
24
 
extern "C" {
25
 
#endif  /* __cplusplus */
26
 
 
27
 
LEPT_DLL extern HBITMAP pixGetWindowsHBITMAP( PIX *pixs );
28
 
 
29
 
#ifdef __cplusplus
30
 
}
31
 
#endif  /* __cplusplus */
32
 
 
33
 
#endif /* LEPTONICA_LEPTWIN_H */
34
 
#endif /* _WIN32 */