
/* OmniPNGStub.h - stub functions for errorhandling the OmniPNG way */
#import "FrameworkDefines.h"

@class NSString;

extern NSString *OmniPNGErrorExceptionName;

// Raises an Exception on an error
OmniPNG_EXTERN void OmniPNG_ErrorFunction(png_structp png_ptr, png_const_charp error_msg);

// Logs the warning
OmniPNG_EXTERN void OmniPNG_WarningFunction(png_structp png_ptr, png_const_charp warning_msg);
