mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-04 15:15:15 -04:00
convert RSNET_CONNECT to enum class
This commit is contained in:
parent
d310102808
commit
acda7b8cc4
8 changed files with 38 additions and 65 deletions
|
@ -349,7 +349,7 @@ RsNatHoleMode p3ServerConfig::getNatHoleMode()
|
|||
return mNetMgr->getNatHoleMode();
|
||||
}
|
||||
|
||||
uint32_t p3ServerConfig::getConnectModes()
|
||||
RsConnectModes p3ServerConfig::getConnectModes()
|
||||
{
|
||||
return mNetMgr->getConnectModes();
|
||||
}
|
||||
|
|
|
@ -78,7 +78,7 @@ virtual uint32_t getNetState();
|
|||
virtual RsNetworkMode getNetworkMode();
|
||||
virtual RsNatTypeMode getNatTypeMode();
|
||||
virtual RsNatHoleMode getNatHoleMode();
|
||||
virtual uint32_t getConnectModes();
|
||||
virtual RsConnectModes getConnectModes();
|
||||
|
||||
virtual bool getConfigurationOption(uint32_t key, std::string &opt);
|
||||
virtual bool setConfigurationOption(uint32_t key, const std::string &opt);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue