// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//

#ifndef __PPMZIP_STDAFX_H__
#define __PPMZIP_STDAFX_H__

#ifdef WIN32
  #define WIN32_LEAN_AND_MEAN           // Exclude rarely-used stuff from Windo$
  #include <windows.h>
  #include <tchar.h>
  #include <io.h>
#ifdef __MINGW32__
  #include <ctype.h>
#endif
#else 
  #include <ctype.h>

  typedef unsigned int UINT;
  typedef long unsigned int DWORD;
  typedef int BOOL;
  typedef unsigned char BYTE;

  #define TRUE 1
  #define FALSE 0
#endif

#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <fcntl.h>

class PPMDI
{
   FILE *file;
   int count;

public:
   PPMDI(FILE *f);

   void _putc(char c);
   int _getc();

   int getCount();
};

#include "Model.h"
#include "Coder.h"

#endif /* __PPMZIP_STDAFX_H__ */
