TuttleOFX  1
Preferences.hpp
Go to the documentation of this file.
00001 #ifndef _TUTTLE_HOST_PREFERENCES_HPP_
00002 #define _TUTTLE_HOST_PREFERENCES_HPP_
00003 
00004 #include <boost/filesystem/path.hpp>
00005 
00006 #include <string>
00007 
00008 namespace tuttle {
00009 namespace host {
00010 
00011 class Preferences
00012 {
00013 private:
00014         boost::filesystem::path _home;
00015         boost::filesystem::path _temp;
00016         
00017 public:
00018         Preferences();
00019         
00020         void setTuttleHomePath( const boost::filesystem::path& home ) { _home = home; }
00021         boost::filesystem::path getTuttleHomePath() const { return _home; }
00022         
00023         boost::filesystem::path getTuttleTempPath() const { return _temp; }
00024         
00025         boost::filesystem::path buildTuttleTestPath() const;
00026         
00027 private:
00028         boost::filesystem::path buildTuttleHome() const;
00029         boost::filesystem::path buildTuttleTemp() const;
00030 };
00031 
00032 }
00033 }
00034 
00035 #endif
00036