summaryrefslogtreecommitdiff
path: root/drivers/png
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-06-18 17:36:10 +0200
committerRémi Verschelde <rverschelde@gmail.com>2019-06-18 17:56:23 +0200
commitd6176db271d6fd11aa88edfd0a4c1e8be04e7471 (patch)
tree498632911da6f587ee49d81c0e1a5bee7d158c2b /drivers/png
parent054ac5c8f5d07ef86f76664ec6b5c3b60b812240 (diff)
Unexpose subclasses of ResourceFormatLoader and -Saver
ResourceFormatLoader and ResourceFormatSaver are meant to be overridden to add support for different formats in ResourceLoader and ResourceSaver. Those should be exposed as they can be overridden in plugins. On the other hand, all predefined subclasses of those two base classes are only meant to register support for new file and resource types, but should not and cannot be used directly from script, so they should not be exposed. Also unexposed ResourceImporterOGGVorbis (and thus its base class ResourceImporter) which are editor-only.
Diffstat (limited to 'drivers/png')
-rw-r--r--drivers/png/resource_saver_png.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/png/resource_saver_png.h b/drivers/png/resource_saver_png.h
index 584ccd4908..9267f2d678 100644
--- a/drivers/png/resource_saver_png.h
+++ b/drivers/png/resource_saver_png.h
@@ -35,7 +35,6 @@
#include "core/io/resource_saver.h"
class ResourceSaverPNG : public ResourceFormatSaver {
- GDCLASS(ResourceSaverPNG, ResourceFormatSaver)
public:
static Error save_image(const String &p_path, const Ref<Image> &p_img);