#ifndef __IMAGE_READER_H
#define __IMAGE_READER_H

#include "obj_reader.h"


class image_reader_t : public obj_reader_t {
	static image_reader_t the_instance;

	image_reader_t() { register_reader(); }
public:
	static image_reader_t* instance() { return &the_instance; }

	obj_type get_type() const OVERRIDE { return obj_image; }
	char const* get_type_name() const OVERRIDE { return "image"; }
	obj_desc_t* read_node(FILE*, obj_node_info_t&) OVERRIDE;
};

#endif
