24 |
# include <config.h> |
# include <config.h> |
25 |
#endif |
#endif |
26 |
|
|
27 |
|
#include <sstream> |
28 |
|
|
29 |
#if HAVE_GETTEXT |
#if HAVE_GETTEXT |
30 |
# include <libintl.h> |
# include <libintl.h> |
31 |
# define _(String) gettext(String) |
# define _(String) gettext(String) |
39 |
# define VERSION VER_STRING // VER_STRING defined in libgig_private.h |
# define VERSION VER_STRING // VER_STRING defined in libgig_private.h |
40 |
#endif // WIN32 |
#endif // WIN32 |
41 |
|
|
42 |
|
template<class T> inline std::string ToString(T o) { |
43 |
|
std::stringstream ss; |
44 |
|
ss << o; |
45 |
|
return ss.str(); |
46 |
|
} |
47 |
|
|
48 |
#endif // GIGEDIT_GLOBAL_H |
#endif // GIGEDIT_GLOBAL_H |