Removed MAX_FILENAME_LENGTH workaround (using enum's instead of #defines means we can take advantage of namespaces)

svn-id: r26019
This commit is contained in:
Max Horn 2007-03-08 16:53:30 +00:00
parent 89095f10a8
commit 273480d492
2 changed files with 9 additions and 7 deletions

View File

@ -34,12 +34,11 @@
#include "backends/fs/abstract-fs.h"
//#include "backends/fs/fs.h"
// Fix name clash with FOTAQ engine, cutaway.h
#undef MAX_FILENAME_LENGTH
// This class is used when a Flash cart is in use
namespace DS {
/**
* This class is used when a Flash cart is in use.
*/
class DSFileSystemNode : public AbstractFilesystemNode {
protected:
static ZipFile* _zipFile;
@ -72,8 +71,9 @@ public:
};
// This class is used when the GBAMP (GBA Movie Player) is used with a CompactFlash card
/**
* This class is used when the GBAMP (GBA Movie Player) is used with a CompactFlash card.
*/
class GBAMPFileSystemNode : public AbstractFilesystemNode {
protected:
typedef class Common::String String;

View File

@ -66,7 +66,9 @@ extern "C" {
// Important constants
#define MAX_FILENAME_LENGTH 256 // Maximum LFN length. Don't change this one
enum {
MAX_FILENAME_LENGTH = 256 // Maximum LFN length. Don't change this one
};
// File Constants
#ifndef EOF