#ifndef _TA_OOPS_
#define _TA_OOPS_

// Link to AGK libraries
#include "agk.h"

// get some things we might need
#include <string>
#include <stdarg.h>

/////////////////////////////////////////
// CLASS DEFINITION /////////////////////
/////////////////////////////////////////

class ta_oops
{
	private:
		static char an_oops[4096];
		static bool have_oops;

	public:
		ta_oops() {};

		static void set_ta_oops(const char* fmt, ...);
		static void clear_ta_oops(void);
		static bool there_is_a_ta_oops(void) {return have_oops;}
		static void show_ta_oops();
		static const char* get_the_oops() {return (const char*)ta_oops::an_oops;};
};
#endif
