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, 12 insertions, 14 deletions
diff --git a/src/tool/dir.h b/src/tool/dir.h
index eea78f7..cff265f 100644
--- a/src/tool/dir.h
+++ b/src/tool/dir.h
@@ -6,9 +6,7 @@
#include <stdio.h>
#include <sys/types.h>
#include <dirent.h>
-
#include <vector>
-
#include "../incl.h"
using namespace std;
@@ -16,20 +14,20 @@ using namespace std;
class dir
{
private:
- bool b_open;
- DIR *p_d;
- struct dirent *p_ep;
- vector<string> vec_dir;
+ bool b_open;
+ DIR *dp;
+ struct dirent *ep;
+ vector<string> dir_vec;
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