mirror of
https://github.com/libAthena/athena.git
synced 2025-12-09 05:27:50 +00:00
* Refactor Stream and *Reader classes
This commit is contained in:
@@ -16,13 +16,13 @@
|
||||
#ifndef FILEWRITER_HPP
|
||||
#define FILEWRITER_HPP
|
||||
|
||||
#include "Athena/Stream.hpp"
|
||||
#include "Athena/IStreamWriter.hpp"
|
||||
|
||||
namespace Athena
|
||||
{
|
||||
namespace io
|
||||
{
|
||||
class FileWriter : public Stream
|
||||
class FileWriter : public IStreamWriter
|
||||
{
|
||||
public:
|
||||
FileWriter(const std::string& filename);
|
||||
@@ -71,7 +71,7 @@ private:
|
||||
} // Athena
|
||||
|
||||
#ifndef FILEWRITER_BASE
|
||||
#define FILEWRITER_BASE \
|
||||
#define FILEWRITER_BASE() \
|
||||
private: \
|
||||
typedef Athena::io::FileWriter base;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user