26 lines
679 B
C++
26 lines
679 B
C++
#ifndef RageFile_H
|
|
#define RageFile_H
|
|
|
|
/*
|
|
-----------------------------------------------------------------------------
|
|
Class: RageFile
|
|
|
|
Desc: Encapsulates C and C++ file classes to deal with arch-specific oddities.
|
|
|
|
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
|
|
Chris Danford
|
|
-----------------------------------------------------------------------------
|
|
*/
|
|
|
|
#include <fstream>
|
|
using namespace std; // using "std::ifstream" causes problems below in VC6. Why?!?
|
|
|
|
// call FixSlashes on any path that came from the user
|
|
void FixSlashesInPlace( CString &sPath );
|
|
CString FixSlashes( CString sPath );
|
|
|
|
void CollapsePath( CString &sPath );
|
|
|
|
|
|
#endif
|