mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-26 23:31:08 -04:00
convert RSCONFIG_USER_LEVEL to enum class
This commit is contained in:
parent
3f5dcecc4d
commit
c285bb0ab8
4 changed files with 30 additions and 36 deletions
|
@ -72,7 +72,7 @@ virtual std::string getRetroshareDataDirectory();
|
|||
|
||||
/* New Stuff */
|
||||
|
||||
virtual uint32_t getUserLevel();
|
||||
virtual RsConfigUserLvl getUserLevel();
|
||||
|
||||
virtual RsNetState getNetState();
|
||||
virtual RsNetworkMode getNetworkMode();
|
||||
|
@ -108,7 +108,7 @@ bool findConfigurationOption(uint32_t key, std::string &keystr);
|
|||
p3GeneralConfig *mGeneralConfig;
|
||||
|
||||
RsMutex configMtx;
|
||||
uint32_t mUserLevel; // store last one... will later be a config Item too.
|
||||
RsConfigUserLvl mUserLevel; // store last one... will later be a config Item too.
|
||||
float mRateDownload;
|
||||
float mRateUpload;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue