adress book added

This commit is contained in:
orignal 2014-03-13 14:22:32 -04:00
parent 06088ff7a2
commit 94a23be9d9
4 changed files with 88 additions and 0 deletions

View file

@ -121,6 +121,18 @@ namespace filesystem
return path;
}
std::string GetFullPath (const std::string& filename)
{
std::string fullPath = GetDataDir ().string ();
#ifndef _WIN32
fullPath.append ("/");
#else
fullPath.append ("\\");
#endif
fullPath.append (filename);
return fullPath;
}
boost::filesystem::path GetConfigFile()
{
boost::filesystem::path pathConfigFile(i2p::util::config::GetArg("-conf", "i2p.conf"));