home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 October / CMCD1004.ISO / Software / Shareware / Utilitare / pec / pec2setup.exe / lzma / pec2codec / codec.h < prev    next >
Encoding:
C/C++ Source or Header  |  2004-05-17  |  1.5 KB  |  48 lines

  1. /*
  2.  * PECompact v2 LZMA CODEC
  3.  * Copyright (C) 2004 Joergen Ibsen (www.ibsensoftware.com)
  4.  *
  5.  * This library is free software; you can redistribute it and/or
  6.  * modify it under the terms of the GNU Lesser General Public
  7.  * License as published by the Free Software Foundation; either
  8.  * version 2.1 of the License, or (at your option) any later version.
  9.  *
  10.  * This library is distributed in the hope that it will be useful,
  11.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  13.  * Lesser General Public License for more details.
  14.  *
  15.  * You should have received a copy of the GNU Lesser General Public
  16.  * License along with this library; if not, write to the Free Software
  17.  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  18.  */
  19.  
  20. #ifndef PEC2_LZMA_CODEC_H_INCLUDED
  21. #define PEC2_LZMA_CODEC_H_INCLUDED
  22.  
  23. #include <windows.h>
  24.  
  25. #include "PEC2CodecSDK.h"
  26.  
  27. #ifdef __cplusplus
  28. extern "C" {
  29. #endif
  30.  
  31. #ifndef DllExport
  32. #define DllExport __declspec( dllexport )
  33. #endif
  34.  
  35. #define PEC2_LZMA_CODEC_VERSION_MAJOR 1
  36. #define PEC2_LZMA_CODEC_VERSION_MINOR 4
  37. #define PEC2_LZMA_CODEC_VERSION ((PEC2_LZMA_CODEC_VERSION_MAJOR*100)+PEC2_LZMA_CODEC_VERSION_MINOR)
  38.  
  39. DllExport DWORD WINAPI GetNumberOfCodecs(void);
  40.  
  41. DllExport FARPROC WINAPI CodecGetProcAddress(DWORD dwCodecIndex, LPCSTR pszApi);
  42.  
  43. #ifdef __cplusplus
  44. } /* extern "C" */
  45. #endif
  46.  
  47. #endif /* PEC2_LZMA_CODEC_H_INCLUDED */
  48.