Delete Directory.h
This commit is contained in:
parent
7df6269e32
commit
0f095a7586
|
@ -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