Put the readers and writers in charles namespace
This commit is contained in:
parent
84cb27fa6f
commit
3a8c955796
4 changed files with 29 additions and 20 deletions
|
|
@ -2,18 +2,18 @@
|
|||
* vim: set tw=80:
|
||||
* Eryn Wells <eryn@erynwells.me>
|
||||
*/
|
||||
|
||||
#ifndef __READERYAML_HH__
|
||||
#define __READERYAML_HH__
|
||||
|
||||
#include "reader.hh"
|
||||
#include "scene.hh"
|
||||
|
||||
namespace charles {
|
||||
|
||||
/**
|
||||
* An input file reader for YAML files.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __READER_YAML_HH__
|
||||
#define __READER_YAML_HH__
|
||||
|
||||
#include "reader.hh"
|
||||
#include "scene.h"
|
||||
|
||||
|
||||
struct YAMLReader
|
||||
: public Reader
|
||||
{
|
||||
|
|
@ -21,9 +21,9 @@ struct YAMLReader
|
|||
: Reader(scene)
|
||||
{ }
|
||||
|
||||
~YAMLReader() { }
|
||||
|
||||
ssize_t read_file(const std::string& filename);
|
||||
};
|
||||
|
||||
} /* namespace charles */
|
||||
|
||||
#endif /* __READER_YAML_HH__ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue