2003-07-22 02:40:23 +00:00
|
|
|
#ifndef SMPACKAGE_UTIL_H
|
|
|
|
|
#define SMPACKAGE_UTIL_H
|
2003-02-11 09:20:58 +00:00
|
|
|
|
|
|
|
|
#include "RageUtil.h"
|
|
|
|
|
|
2003-07-22 02:40:23 +00:00
|
|
|
void WriteStepManiaInstallDirs( const CStringArray& asInstallDirsToWrite );
|
|
|
|
|
void GetStepManiaInstallDirs( CStringArray& asInstallDirsOut );
|
|
|
|
|
void AddStepManiaInstallDir( CString sNewInstallDir );
|
2005-10-17 08:15:52 +00:00
|
|
|
void SetDefaultInstallDir( int iInstallDirIndex );
|
2005-10-21 07:42:52 +00:00
|
|
|
void SetDefaultInstallDir( CString sInstallDir );
|
2003-02-11 09:20:58 +00:00
|
|
|
|
2003-07-22 03:07:51 +00:00
|
|
|
bool GetPref( CString name, bool &val );
|
|
|
|
|
bool SetPref( CString name, bool val );
|
|
|
|
|
|
2003-07-24 01:28:53 +00:00
|
|
|
CString GetPackageDirectory(CString path);
|
|
|
|
|
bool IsValidPackageDirectory(CString path);
|
|
|
|
|
|
2003-07-22 02:40:23 +00:00
|
|
|
#endif
|