#include <ETL/stringf>
#include "string.h"
#include "version.h"
+#include <locale.h>
/* === M A C R O S ========================================================= */
//#define gettext(x) (x)
#endif
-#define SYNFIG_COPYRIGHT "Copyright (c) 2001-2004 Voria Software, LLC"
+#define SYNFIG_COPYRIGHT "Copyright (c) 2001-2005 Robert B. Quattlebaum Jr., Adrian Bentley"
#ifdef _DEBUG
namespace synfig {
+class ChangeLocale {
+ const char *previous;
+ int category;
+public:
+ ChangeLocale(int category, const char *locale):
+ previous(setlocale(category,NULL)),category(category)
+ {
+ setlocale(category,locale);
+ }
+ ~ChangeLocale() {
+ setlocale(category,previous);
+ }
+};
+
/*! \class ProgressCallback
** \todo writeme
*/