diff options
Diffstat (limited to 'drivers/png/resource_saver_png.h')
-rw-r--r-- | drivers/png/resource_saver_png.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/png/resource_saver_png.h b/drivers/png/resource_saver_png.h index c71877d728..ebc8d8e3ae 100644 --- a/drivers/png/resource_saver_png.h +++ b/drivers/png/resource_saver_png.h @@ -33,15 +33,13 @@ class ResourceSaverPNG : public ResourceFormatSaver { public: + static Error save_image(const String &p_path, Image &p_img); - static Error save_image(const String &p_path, Image& p_img); - - virtual Error save(const String &p_path,const RES& p_resource,uint32_t p_flags=0); - virtual bool recognize(const RES& p_resource) const; - virtual void get_recognized_extensions(const RES& p_resource,List<String> *p_extensions) const; + virtual Error save(const String &p_path, const RES &p_resource, uint32_t p_flags = 0); + virtual bool recognize(const RES &p_resource) const; + virtual void get_recognized_extensions(const RES &p_resource, List<String> *p_extensions) const; ResourceSaverPNG(); }; - #endif // RESOURCE_SAVER_PNG_H |