mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
added web interface to retroshare-gui
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8165 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
1b0f59d746
commit
127c104e5e
16 changed files with 362 additions and 13 deletions
|
@ -132,7 +132,7 @@ namespace RsAccounts
|
|||
{
|
||||
// Directories.
|
||||
std::string ConfigDirectory(); // aka Base Directory. (normally ~/.retroshare)
|
||||
std::string DataDirectory();
|
||||
std::string DataDirectory(); // you can call this method even before initialisation (you can't with the other methods)
|
||||
std::string PGPDirectory();
|
||||
std::string AccountDirectory();
|
||||
|
||||
|
|
|
@ -717,7 +717,7 @@ static bool checkAccount(std::string accountdir, AccountDetails &account,std::ma
|
|||
//#include <CFBundle.h>
|
||||
#endif
|
||||
|
||||
std::string RsAccountsDetail::PathDataDirectory()
|
||||
/*static*/ std::string RsAccountsDetail::PathDataDirectory()
|
||||
{
|
||||
std::string dataDirectory;
|
||||
|
||||
|
@ -1227,7 +1227,7 @@ bool RsInit::LoadPassword(const std::string& id, const std::string& inPwd)
|
|||
|
||||
// Directories.
|
||||
std::string RsAccounts::ConfigDirectory() { return rsAccounts->PathBaseDirectory(); }
|
||||
std::string RsAccounts::DataDirectory() { return rsAccounts->PathDataDirectory(); }
|
||||
std::string RsAccounts::DataDirectory() { return RsAccountsDetail::PathDataDirectory(); }
|
||||
std::string RsAccounts::PGPDirectory() { return rsAccounts->PathPGPDirectory(); }
|
||||
std::string RsAccounts::AccountDirectory() { return rsAccounts->PathAccountDirectory(); }
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@ class RsAccountsDetail
|
|||
void unlockPreferredAccount();
|
||||
|
||||
// Paths.
|
||||
std::string PathDataDirectory();
|
||||
static std::string PathDataDirectory();
|
||||
std::string PathBaseDirectory();
|
||||
|
||||
// PGP Path is only dependent on BaseDirectory.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue