blob: 1b085c565e17e22fcb7e1487d8b3a5d76eb25b10 [file] [log] [blame]
#ifndef __DIRECTORY_H
#define __DIRECTORY_H
#include <string>
#include <dirent.h>
class Directory
{
public:
explicit Directory(const std::string& path);
~Directory();
bool next(std::string& name);
private:
dirent* entry;
DIR* dirp;
};
#endif