blob: 9a12a3c830ea92a4c374726519a20395ac84c7be [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
// vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4