2005-12-10 08:23:10 +00:00
|
|
|
#ifndef SMPackageUtil_H
|
|
|
|
|
#define SMPackageUtil_H
|
2003-02-11 09:20:58 +00:00
|
|
|
|
2005-12-10 08:23:10 +00:00
|
|
|
namespace SMPackageUtil
|
|
|
|
|
{
|
|
|
|
|
void WriteStepManiaInstallDirs( const vector<RString>& asInstallDirsToWrite );
|
|
|
|
|
void GetStepManiaInstallDirs( vector<RString>& asInstallDirsOut );
|
|
|
|
|
void AddStepManiaInstallDir( RString sNewInstallDir );
|
|
|
|
|
void SetDefaultInstallDir( int iInstallDirIndex );
|
|
|
|
|
void SetDefaultInstallDir( RString sInstallDir );
|
2005-11-10 09:19:48 +00:00
|
|
|
|
2005-12-10 08:23:10 +00:00
|
|
|
bool GetPref( RString name, bool &val );
|
|
|
|
|
bool SetPref( RString name, bool val );
|
2003-02-11 09:20:58 +00:00
|
|
|
|
2005-12-10 08:23:10 +00:00
|
|
|
RString GetPackageDirectory(RString path);
|
|
|
|
|
bool IsValidPackageDirectory(RString path);
|
2003-02-11 09:20:58 +00:00
|
|
|
|
2005-12-10 08:23:10 +00:00
|
|
|
void LaunchGame();
|
|
|
|
|
}
|
2005-11-28 05:24:09 +00:00
|
|
|
|
2003-07-22 02:40:23 +00:00
|
|
|
#endif
|