#ifdef _QUICKTIME_
#else
#define _QUICKTIME_


#include "../Main.h"

#include "QTThread.h"

#include <windows.h>

#include <gl/gl.h>
#include <gl/glu.h>
// Quicktime Includes:
#include "MacTypes.h"
#include "QTML.h"
#include "Movies.h"
#include "TextUtils.h"



class QTMovie 
{
public:
  char name [256];
  Movie theMovie;
  short theFile;
  HWND wnd;
  Rect theMovieRect;
  long framecount,lastframecount;
  GWorldPtr offscreenGWorld;
  HBITMAP HBitmap;
  HDC hdc;
  /*bool newbitmap;
  QTThread *mythread;*/

public:
  QTMovie(); 
  ~QTMovie(); 
  void QTCleanUp();
};

extern int THREAD_ID;

LRESULT CALLBACK QTWndProc
		(HWND thisWindow,                       // Handle to window
         UINT msgType,                          // Message type
         WPARAM wParam,                           // Message-dependent parameter
         LPARAM lParam);

#endif