ES-DE/src/FolderData.h
Aloshi eaf7df7ad5 Moved configuration files to $HOME/.emulationstation/
Folders should now be sorted alphabetically.
Will now fall back to a system font if LinLibertine.ttf is not found.
Added a Menu button.
Began working on a simple menu.
2012-08-01 23:03:15 -05:00

33 lines
534 B
C++

#ifndef _FOLDER_H_
#define _FOLDER_H_
#include "FileData.h"
#include <vector>
class SystemData;
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