/[tivodecode]/t2sami/trunk/Utility.cpp
ViewVC logotype

Diff of /t2sami/trunk/Utility.cpp

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

revision 167 by jeremyd, Sat Dec 30 03:16:52 2006 UTC revision 168 by jmemmott, Sun Jan 28 02:37:35 2007 UTC
# Line 111  bool DirectoryExists(const std::string Name) Line 111  bool DirectoryExists(const std::string Name)
111          return bfs::exists(pth) && bfs::is_directory(pth);          return bfs::exists(pth) && bfs::is_directory(pth);
112  }  }
113    
114    #ifdef WIN32
115    std::string t2sprintf(const char* format,...)
116    {
117      va_list arguments;
118      va_start(arguments,format);
119      char buffer[1024];
120      vsprintf(buffer,format,arguments);
121      va_end(arguments);
122      std::string rtvalue = buffer;
123      return rtvalue;
124    }
125    #endif
126    
127  using boost::format;  using boost::format;
128  using boost::str;  using boost::str;
129  std::string SrtTimeString( int nTime )  std::string SrtTimeString( int nTime )

Legend:
Removed from v.167  
changed lines
  Added in v.168

cvs@jdrake.com
ViewVC Help
Powered by ViewVC 1.1.13