00001 #pragma once
00002
00027 #ifndef __DIRECTORY_H__
00028 #define __DIRECTORY_H__
00029
00030
00031 using std::string;
00032
00034 class directory
00035 {
00036
00037 public:
00038 #ifdef WINDOWS
00039 static const char DIR_SEP='\\';
00040 #else
00041 static const char DIR_SEP='/';
00042 #endif
00043
00044
00045 public:
00046 static void SetCurrent(const string& FileRoute);
00047 static string GetCurrent(void);
00048 static size_t GetFullPath(const string& FileRoute, string& FullRoute);
00049 private:
00050 directory(void);
00051 };
00052
00053 #endif // __DIRECTORY_H__