Woopsi 1.0
GUI Framework for Nintendo DS Homebrew

filepath.h

00001 #ifndef _FILE_PATH_H_
00002 #define _FILE_PATH_H_
00003 
00004 #include "woopsistring.h"
00005 
00006 namespace WoopsiUI {
00007 
00016         class FilePath {
00017         public:
00018                 
00023                 FilePath(const WoopsiString& path);
00024 
00028                 inline ~FilePath() { }
00029 
00034                 void setPath(const WoopsiString& path);
00035 
00040                 inline const WoopsiString& getPath() const { return _path; };
00041 
00047                 void appendPath(const WoopsiString& path);
00048 
00052                 void goToParent();
00053 
00057                 void goToRoot();
00058 
00059         private:
00060                 WoopsiString _path;                     
00061         };
00062 }
00063 
00064 #endif