/[svn]/gigedit/trunk/src/gigedit/global.h
ViewVC logotype

Diff of /gigedit/trunk/src/gigedit/global.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1396 by schoenebeck, Wed Oct 10 15:48:54 2007 UTC revision 2442 by persson, Sun Apr 14 07:29:59 2013 UTC
# Line 24  Line 24 
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)
# Line 37  Line 39 
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

Legend:
Removed from v.1396  
changed lines
  Added in v.2442

  ViewVC Help
Powered by ViewVC