summaryrefslogtreecommitdiff
path: root/src/tool/dir.h
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:48 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:48 +0200
commitbf5fc4cc4a15e8e57db58c2e065e0f5adbd8e800 (patch)
tree855a98aec6d09361074c9725e08063553044ecfb /src/tool/dir.h
parentd9c4a95345bd758e45196b29368bd2ff0f2790e3 (diff)
tagging ychat-0.7.9.3ychat-0.7.9.3
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