00001 #ifndef WINCMP_MISC_CPATH_H
00002 #define WINCMP_MISC_CPATH_H
00003 #if _MSC_VER >= 1000
00004 #pragma once
00005 #endif // _MSC_VER >= 1000
00006
00007 #include "WBWin.h"
00008 #include <Base/BaseUtility.h>
00009
00010 namespace Spr {;
00011
00012 class SPR_DLL WBPath{
00013 protected:
00014 UTString path;
00015 public:
00016
00017 UTString Path(){ return path; }
00018
00019 void Path(UTString p);
00020
00021 UTString Drive();
00022
00023 UTString Dir();
00024
00025 UTString File();
00026
00027 UTString Main();
00028
00029 UTString Ext();
00030
00031 UTString GetCwd();
00032
00033 bool SetCwd(UTString cwd);
00034
00035
00036 UTString FullPath();
00037
00038 UTString RelPath();
00039
00040
00041 UTString FullDir();
00042
00043
00044 bool Search(UTString file);
00045 };
00046
00047 }
00048
00049 #endif
00050