ES-DE/src/FolderData.h
Aloshi 80740a2bd0 Fixed tiling being super slow.
See changelog.txt (September 7) for a list of everything.
2012-09-07 16:44:07 -05:00

34 lines
610 B
C++

#ifndef _FOLDER_H_
#define _FOLDER_H_
#include "FileData.h"
#include <vector>
class SystemData;
//This class lets us hold a vector of FileDatas within under a common name.
class FolderData : public FileData
{
public:
FolderData(SystemData* system, std::string path, std::string name);
~FolderData();
bool isFolder();
std::string getName();
std::string getPath();
unsigned int getFileCount();
FileData* getFile(unsigned int i);
void pushFileData(FileData* file);
void sort();
private:
SystemData* mSystem;
std::string mPath;
std::string mName;
std::vector<FileData*> mFileVector;
};
#endif