CString -> RString for files used by smpackage

This commit is contained in:
Chris Danford
2005-12-10 08:15:44 +00:00
parent 09d8307a83
commit ec51af900e
19 changed files with 310 additions and 310 deletions
-8
View File
@@ -148,10 +148,6 @@ CString SecondsToMSSMsMs( float fSecs )
return sReturn;
}
#include "LuaFunctions.h"
#include "LuaManager.h"
LuaFunction( SecondsToMSSMsMs, SecondsToMSSMsMs( FArg(1) ) )
CString SecondsToMMSSMsMsMs( float fSecs )
{
const int iMinsDisplay = (int)fSecs/60;
@@ -180,8 +176,6 @@ CString Commify( int iNum )
return sReturn;
}
LuaFunction( FormatNumberAndSuffix, FormatNumberAndSuffix( IArg(1) ) )
CString FormatNumberAndSuffix( int i )
{
CString sSuffix;
@@ -1596,8 +1590,6 @@ CString Basename( const CString &dir )
return dir.substr( start, end-start+1 );
}
LuaFunction( Basename, Basename( SArg(1) ) )
/* Return all but the last named component of dir:
* a/b/c -> a/b/
* a/b/c/ -> a/b/