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

#pragma once

#ifdef WIN32
  #define WIN32_LEAN_AND_MEAN           // Exclude rarely-used stuff from Windo$
  #include <windows.h>
  #include <tchar.h>
  #include <io.h>
#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"
