removed RETROTOR #ifdef and started using RsAccounts::isTorAuto() instead. Unfinished yet.

This commit is contained in:
csoler 2018-07-25 11:37:40 +02:00
parent 0f758902cd
commit d1a375cbd0
No known key found for this signature in database
GPG key ID: 7BCA522266C0804C
13 changed files with 294 additions and 270 deletions

View file

@ -181,6 +181,8 @@ public:
static bool getCurrentAccountOptions(bool& is_hidden,bool& is_tor_auto,bool& is_first_time) ;
static bool checkCreateAccountDirectory(); // Generate the hierarchy of directories below ~/.retroshare/[SSL dir]/
static bool isHiddenNode() ; // true if the running node is a hidden node. Used to choose which services to start.
static bool isTorAuto() ; // true if the running node is a hidden node using automated Tor management
static std::string AccountDirectory(); // linux: ~/.retroshare/[SSL dir]/
static std::string AccountKeysDirectory(); // linux: ~/.retroshare/[SSL dir]/keys/