2014-02-10 02:10:30 +01:00
|
|
|
/*************************************************/
|
|
|
|
/* image_loader_jpg.h */
|
|
|
|
/*************************************************/
|
|
|
|
/* This file is part of: */
|
|
|
|
/* GODOT ENGINE */
|
|
|
|
/*************************************************/
|
|
|
|
/* Source code within this file is: */
|
2016-01-01 14:50:53 +01:00
|
|
|
/* (c) 2007-2016 Juan Linietsky, Ariel Manzur */
|
2014-02-10 02:10:30 +01:00
|
|
|
/* All Rights Reserved. */
|
|
|
|
/*************************************************/
|
|
|
|
|
2016-01-03 21:14:28 +01:00
|
|
|
#ifndef BITMAP_LOADER_PNM_H
|
|
|
|
#define BITMAP_LOADER_PNM_H
|
2014-02-10 02:10:30 +01:00
|
|
|
|
2016-01-03 21:14:28 +01:00
|
|
|
#include "io/resource_loader.h"
|
2014-02-10 02:10:30 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
@author Juan Linietsky <reduzio@gmail.com>
|
|
|
|
*/
|
2016-01-03 21:14:28 +01:00
|
|
|
class ResourceFormatPBM : public ResourceFormatLoader {
|
2014-02-10 02:10:30 +01:00
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
2016-01-03 21:14:28 +01:00
|
|
|
virtual RES load(const String &p_path,const String& p_original_path="",Error *r_error=NULL);
|
|
|
|
virtual void get_recognized_extensions(List<String> *p_extensions) const;
|
|
|
|
virtual bool handles_type(const String& p_type) const;
|
|
|
|
virtual String get_resource_type(const String &p_path) const;
|
2014-02-10 02:10:30 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|