31 lines
452 B
C++
31 lines
452 B
C++
/* 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>
|
|
|
|
|
|
namespace charles {
|
|
|
|
struct Scene;
|
|
|
|
|
|
class Writer
|
|
{
|
|
public:
|
|
virtual
|
|
~Writer()
|
|
{ }
|
|
|
|
virtual int write_scene(const Scene &scene, const std::string &filename) = 0;
|
|
};
|
|
|
|
} /* namespace charles */
|
|
|
|
#endif
|