// // libpng.hpp // AwesomeAttract0r // // Created by Joshua Moerman on 10/24/11. // Copyright 2011 Vadovas. All rights reserved. // #ifndef AwesomeAttract0r_libpng_hpp #define AwesomeAttract0r_libpng_hpp #ifndef __APPLE__ #include #else #warning PNG++ is not yet supported namespace png { template struct image{ image(unsigned int, unsigned int){} image& operator[](unsigned int){return *this;} template image& operator=(S const &){return *this;} void write(std::string const &){} }; struct rgb_pixel{ rgb_pixel(unsigned int, unsigned int, unsigned int){} }; } #endif #endif