Added Model and related classes

This commit is contained in:
sippeangelo
2015-11-24 10:55:54 +01:00
parent 34e095b54b
commit 16eb70dd59
14 changed files with 958 additions and 1 deletions
+21
View File
@@ -0,0 +1,21 @@
#ifndef PNG_h_
#define PNG_h_
#include <stdexcept>
#include <png.h>
#include "Image.h"
class PNG : public Image
{
public:
PNG(std::string path);
~PNG();
private:
static void pngErrorFunction(png_structp png_ptr, png_const_charp error_msg);
static void pngWarningFunction(png_structp png_ptr, png_const_charp warning_msg);
};
#endif