cleanup
This commit is contained in:
@@ -252,9 +252,11 @@ CString ConvertWstringToACP( wstring s );
|
|||||||
CString ConvertUTF8ToACP( CString s );
|
CString ConvertUTF8ToACP( CString s );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Splits a Path into 4 parts (Directory, Drive, Filename, Extention). Supports UNC path names.
|
/*
|
||||||
/* If Path is a directory (eg. c:\games\stepmania"), append a slash so the last
|
* Splits a Path into 4 parts (Directory, Drive, Filename, Extention). Supports UNC path names.
|
||||||
* element will end up in Dir, not FName: "c:\games\stepmania\". */
|
* If Path is a directory (eg. c:\games\stepmania"), append a slash so the last
|
||||||
|
* element will end up in Dir, not FName: "c:\games\stepmania\".
|
||||||
|
* */
|
||||||
void splitpath( const CString &Path, CString &Dir, CString &Filename, CString &Ext );
|
void splitpath( const CString &Path, CString &Dir, CString &Filename, CString &Ext );
|
||||||
|
|
||||||
CString SetExtension( const CString &path, const CString &ext );
|
CString SetExtension( const CString &path, const CString &ext );
|
||||||
@@ -444,9 +446,6 @@ CString ToString( bool value );
|
|||||||
inline CString ToString( const CString &value ) { return value; }
|
inline CString ToString( const CString &value ) { return value; }
|
||||||
|
|
||||||
// helper file functions used by Bookkeeper and ProfileManager
|
// helper file functions used by Bookkeeper and ProfileManager
|
||||||
//
|
|
||||||
// Helper function for reading/writing scores
|
|
||||||
//
|
|
||||||
class RageFileBasic;
|
class RageFileBasic;
|
||||||
bool FileRead( RageFileBasic& f, CString& sOut );
|
bool FileRead( RageFileBasic& f, CString& sOut );
|
||||||
bool FileRead( RageFileBasic& f, int& iOut );
|
bool FileRead( RageFileBasic& f, int& iOut );
|
||||||
@@ -463,7 +462,7 @@ bool FileCopy( RageFileBasic &in, RageFileBasic &out, CString &sError, bool *bRe
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2001-2004 Chris Danford, Glenn Maynard
|
* Copyright (c) 2001-2005 Chris Danford, Glenn Maynard
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
|||||||
Reference in New Issue
Block a user