Clean image types
This commit is contained in:
parent
e7683cd94e
commit
c6d03f16d0
18 changed files with 169 additions and 107 deletions
|
@ -3,7 +3,8 @@
|
|||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
class Image;
|
||||
#include "Image.h"
|
||||
|
||||
class PngWriterImpl;
|
||||
|
||||
class PngWriter
|
||||
|
@ -15,7 +16,7 @@ public:
|
|||
|
||||
void SetPath(const std::string& path);
|
||||
|
||||
void Write(const std::unique_ptr<Image>& image) const;
|
||||
void Write(const std::unique_ptr<Image<unsigned char> >& image) const;
|
||||
|
||||
private:
|
||||
std::unique_ptr<PngWriterImpl> mImpl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue