X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Fvalue.h;h=7079dbae0a2aa33e79845710d7033efc2274e19e;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;hp=d97c7c31980638693b913b687f564914d444094c;hpb=64591d2bbceaf68a64008a0044e2fef3454e44ac;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/value.h b/synfig-core/trunk/src/synfig/value.h index d97c7c3..7079dba 100644 --- a/synfig-core/trunk/src/synfig/value.h +++ b/synfig-core/trunk/src/synfig/value.h @@ -6,7 +6,7 @@ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley -** Copyright (c) 2007 Chris Moore +** Copyright (c) 2007, 2008 Chris Moore ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -238,6 +238,10 @@ public: { return get(etl::loose_handle()); } const char* get(const char*)const; const list_type& get_list()const { return get(list_type()); } + +#ifdef _DEBUG + String get_string() const; +#endif // _DEBUG // ======================================================================== @@ -320,7 +324,7 @@ public: operator const list_type&()const { return get_list(); } //operator const Color&()const { return get(Color()); } - //operator const Real&()const { return get(Real()); } + operator const Real&()const { return get(Real()); } //operator const Time&()const { return get(Time()); } operator const Vector&()const { return get(Vector()); }