2005-03-24 13:53:48 +01:00
|
|
|
#include "AtlasObject/AtlasObject.h"
|
|
|
|
|
2005-05-19 07:06:28 +02:00
|
|
|
namespace Datafile
|
2005-03-24 13:53:48 +01:00
|
|
|
{
|
|
|
|
// Read configuration data from data/tools/atlas/lists.xml
|
2005-05-19 07:06:28 +02:00
|
|
|
AtObj ReadList(const char* section);
|
2005-03-30 12:35:43 +02:00
|
|
|
|
|
|
|
// Specify the location of .../binaries/system, as an absolute path, or
|
|
|
|
// relative to the current working directory.
|
2005-05-19 07:06:28 +02:00
|
|
|
void SetSystemDirectory(const wxString& dir);
|
2005-03-30 12:35:43 +02:00
|
|
|
|
2005-05-19 07:06:28 +02:00
|
|
|
// Returns the location of .../binaries/data. (TODO (eventually): replace
|
|
|
|
// this with a proper VFS-aware system.)
|
|
|
|
wxString GetDataDirectory();
|
2005-03-30 12:37:44 +02:00
|
|
|
|
2005-05-19 07:06:28 +02:00
|
|
|
// Returns a list of files matching the given wildcard (* and ?) filter
|
|
|
|
// inside .../binaries/data/<dir>, not recursively.
|
|
|
|
wxArrayString EnumerateDataFiles(const wxString& dir, const wxString& filter);
|
2005-03-24 13:53:48 +01:00
|
|
|
};
|