// $Id: ScreenShotSaver.hh,v 1.9 2005/01/13 18:25:43 m9710797 Exp $

#ifndef __SCREENSHOTSAVER_HH__
#define __SCREENSHOTSAVER_HH__

#include <string>
#include "openmsx.hh"

struct SDL_Surface;

namespace openmsx {

/** Utility class to hide the complexity of saving to a .png file
  */
class ScreenShotSaver
{
public:
	static void save(SDL_Surface* image, const std::string& filename);
	static void save(unsigned witdh, unsigned height,
	                 byte** row_pointers, const std::string& filename);

	static std::string getFileName();
};

} // namespace openmsx

#endif // __SCREENSHOTSAVER_HH__
