diff options
author | Alejandro Conty Estevez <conty@yafray.org> | 2004-06-28 00:10:20 +0400 |
---|---|---|
committer | Alejandro Conty Estevez <conty@yafray.org> | 2004-06-28 00:10:20 +0400 |
commit | 7febd4547dc3f10aa3d5ff9219a3971bae8256a8 (patch) | |
tree | d059b00d3592f370804ebd10fae6f51918535f46 /source/blender/yafray/intern/yafexternal.h | |
parent | b8f73db964790e49fe98b5c9646bd392956b3516 (diff) |
Finally, fixed the evil dll problem. It works now
on my win32 box with my tests without crashing.
But be aware! There may be more of them watching
us, waiting for a moment of distraction, nobody
is safe.
Diffstat (limited to 'source/blender/yafray/intern/yafexternal.h')
-rw-r--r-- | source/blender/yafray/intern/yafexternal.h | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/source/blender/yafray/intern/yafexternal.h b/source/blender/yafray/intern/yafexternal.h index e92ae1c08d8..7353748a1ad 100644 --- a/source/blender/yafray/intern/yafexternal.h +++ b/source/blender/yafray/intern/yafexternal.h @@ -82,9 +82,20 @@ class parameter_t class paramMap_t { public: - parameter_t & operator [] (const std::string &key); - void clear(); - ~paramMap_t() {}; + paramMap_t(); + virtual bool getParam(const std::string &name,const std::string *&s); + virtual bool getParam(const std::string &name,bool &b); + virtual bool getParam(const std::string &name,float &f); + virtual bool getParam(const std::string &name,double &f); + virtual bool getParam(const std::string &name,int &i); + virtual bool getParam(const std::string &name,point3d_t &p); + virtual bool getParam(const std::string &name,color_t &c); + virtual bool getParam(const std::string &name,colorA_t &c); + virtual bool includes(const std::string &label,int type)const; + virtual void checkUnused(const std::string &env)const; + virtual parameter_t & operator [] (const std::string &key); + virtual void clear(); + virtual ~paramMap_t(); protected: std::map<std::string,parameter_t> dicc; }; |