charles/src/writer.h

32 lines
452 B
C
Raw Normal View History

/* writer.h
*
* Writers handle the interface between (mostly) C libraries to write various image formats and the rest of Charles.
*
* Eryn Wells <eryn@erynwells.me>
*/
#ifndef __WRITER_H__
#define __WRITER_H__
#include <string>
2013-09-14 16:16:25 -07:00
namespace charles {
struct Scene;
class Writer
{
public:
2013-09-15 09:27:05 -07:00
virtual
~Writer()
{ }
virtual int write_scene(const Scene &scene, const std::string &filename) = 0;
};
} /* namespace charles */
#endif