/ocr/ocrservice/jni/hydrogen/include/leptonica/leptwin.h

http://eyes-free.googlecode.com/ · C++ Header · 34 lines · 14 code · 6 blank · 14 comment · 0 complexity · 20641c21c6b72e8cf7bc1a1fe4ec39b0 MD5 · raw file

  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. #ifdef _WIN32
  16. #ifndef LEPTONICA_LEPTWIN_H
  17. #define LEPTONICA_LEPTWIN_H
  18. #include "allheaders.h"
  19. #include <windows.h>
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif /* __cplusplus */
  23. LEPT_DLL extern HBITMAP pixGetWindowsHBITMAP( PIX *pixs );
  24. #ifdef __cplusplus
  25. }
  26. #endif /* __cplusplus */
  27. #endif /* LEPTONICA_LEPTWIN_H */
  28. #endif /* _WIN32 */