2012-07-27 16:58:27 +00:00
|
|
|
#ifndef _FILEDATA_H_
|
|
|
|
#define _FILEDATA_H_
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
2012-09-07 21:44:07 +00:00
|
|
|
//This is a really basic class that the GameData and FolderData subclass from.
|
|
|
|
//This lets us keep everything in one vector and not have to differentiate between files and folders when we just want to check the name, etc.
|
2012-07-27 16:58:27 +00:00
|
|
|
class FileData
|
|
|
|
{
|
|
|
|
public:
|
2012-10-28 23:07:05 +00:00
|
|
|
virtual ~FileData() { };
|
2012-07-27 16:58:27 +00:00
|
|
|
virtual bool isFolder() = 0;
|
|
|
|
virtual std::string getName() = 0;
|
|
|
|
virtual std::string getPath() = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|