X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2Futils%2Fconfigfile.h;h=90862da82fff9559e4c6dd8855ffc873140e8fc7;hb=f54737bb28bec638b9f436d023b9f21fec2caadd;hp=a6471cc42b46611035997c0cdd7797e24c9cb4c6;hpb=c5cbd36c2e01d8c807c8c931ca44fb7c1b48ad18;p=supertux.git diff --git a/lib/utils/configfile.h b/lib/utils/configfile.h index a6471cc42..90862da82 100644 --- a/lib/utils/configfile.h +++ b/lib/utils/configfile.h @@ -20,18 +20,22 @@ #ifndef SUPERTUX_CONFIGFILE_H #define SUPERTUX_CONFIGFILE_H -#include "../utils/lispreader.h" +#include "lisp/lisp.h" namespace SuperTux { -FILE * opendata(const char * filename, const char * mode); +FILE * opendata(const std::string& filename, const char * mode); class Config { - public: +public: + virtual ~Config() + { } void load (); void save (); - virtual void customload(LispReader& reader) {}; - virtual void customsave(FILE * config) {}; + virtual void customload(const lisp::Lisp* ) + {}; + virtual void customsave(FILE* ) + {}; }; extern Config* config;