blob: 1b085c565e17e22fcb7e1487d8b3a5d76eb25b10 [file] [log] [blame]
Patrick Williams3667cf32015-10-20 22:39:11 -05001#ifndef __DIRECTORY_H
2#define __DIRECTORY_H
3
4#include <string>
5#include <dirent.h>
6
7class Directory
8{
9 public:
10 explicit Directory(const std::string& path);
11 ~Directory();
12
13 bool next(std::string& name);
14
15 private:
16 dirent* entry;
17 DIR* dirp;
18};
19
20#endif