Common: Namespace Network.h/.cpp

Necessary to avoid namespace clashes with IOS HLE's namespace name.
This commit is contained in:
Lioncash
2017-01-17 19:19:20 -05:00
parent 63011f1402
commit f1542c8e5a
5 changed files with 26 additions and 20 deletions

View File

@ -8,10 +8,12 @@
#include "Common/CommonTypes.h"
enum MACConsumer
namespace Common
{
BBA = 0,
IOS = 1
enum class MACConsumer
{
BBA,
IOS
};
enum
@ -22,3 +24,4 @@ enum
void GenerateMacAddress(const MACConsumer type, u8* mac);
std::string MacAddressToString(const u8* mac);
bool StringToMacAddress(const std::string& mac_string, u8* mac);
} // namespace Common