Delete Directory.h
Delete Directory.h for moving into a /header directory.
This commit is contained in:
parent
14dbfa2e94
commit
6472b21eff
|
@ -1,30 +0,0 @@
|
||||||
#ifndef DIRECTORY_H
|
|
||||||
#define DIRECTORY_H
|
|
||||||
|
|
||||||
#include <string>
|
|
||||||
#include <dirent.h>
|
|
||||||
|
|
||||||
enum class Types
|
|
||||||
{
|
|
||||||
DIR,
|
|
||||||
FILE,
|
|
||||||
};
|
|
||||||
|
|
||||||
class Directory
|
|
||||||
{
|
|
||||||
private:
|
|
||||||
DIR *dir;
|
|
||||||
const std::string pathname_m;
|
|
||||||
dirent *ent;
|
|
||||||
public:
|
|
||||||
Directory(std::string pathname);
|
|
||||||
~Directory();
|
|
||||||
|
|
||||||
/* Class functions */
|
|
||||||
dirent* read();
|
|
||||||
std::string name();
|
|
||||||
Types type();
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
Loading…
Reference in New Issue