mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Core: Namespace NetPlay utilities under the NetPlay namespace
Previously there was only one function under the NetPlay namespace, which is kind of silly considering we have all of these other types and functions existing outside of the namespace. This moves the rest of them into the namespace. This gets some general names, like Player, for example, out of the global namespace.
This commit is contained in:
parent
3d1a7737d8
commit
675260b0f7
17 changed files with 119 additions and 97 deletions
|
@ -267,22 +267,22 @@ GameListModel* Settings::GetGameListModel() const
|
|||
return model;
|
||||
}
|
||||
|
||||
NetPlayClient* Settings::GetNetPlayClient()
|
||||
NetPlay::NetPlayClient* Settings::GetNetPlayClient()
|
||||
{
|
||||
return m_client.get();
|
||||
}
|
||||
|
||||
void Settings::ResetNetPlayClient(NetPlayClient* client)
|
||||
void Settings::ResetNetPlayClient(NetPlay::NetPlayClient* client)
|
||||
{
|
||||
m_client.reset(client);
|
||||
}
|
||||
|
||||
NetPlayServer* Settings::GetNetPlayServer()
|
||||
NetPlay::NetPlayServer* Settings::GetNetPlayServer()
|
||||
{
|
||||
return m_server.get();
|
||||
}
|
||||
|
||||
void Settings::ResetNetPlayServer(NetPlayServer* server)
|
||||
void Settings::ResetNetPlayServer(NetPlay::NetPlayServer* server)
|
||||
{
|
||||
m_server.reset(server);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue