summaryrefslogtreecommitdiff
path: root/src/tool/dir.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tool/dir.h')
-rw-r--r--src/tool/dir.h26
1 files changed, 14 insertions, 12 deletions
diff --git a/src/tool/dir.h b/src/tool/dir.h
index cff265f..eea78f7 100644
--- a/src/tool/dir.h
+++ b/src/tool/dir.h
@@ -6,7 +6,9 @@
#include <stdio.h>
#include <sys/types.h>
#include <dirent.h>
+
#include <vector>
+
#include "../incl.h"
using namespace std;
@@ -14,20 +16,20 @@ using namespace std;
class dir
{
private:
- bool b_open;
- DIR *dp;
- struct dirent *ep;
- vector<string> dir_vec;
+ bool b_open;
+ DIR *p_d;
+ struct dirent *p_ep;
+ vector<string> vec_dir;
public:
- dir();
- ~dir();
-
- bool open_dir( char *c_dir );
- bool open_dir( string &s_dir );
- void close_dir();
- void read_dir();
- vector<string> get_dir_vec();
+ dir();
+ ~dir();
+
+ bool open_dir( char *c_dir );
+ bool open_dir( string &s_dir );
+ void close_dir();
+ void read_dir();
+ vector<string> get_dir_vec();
};
#endif