Common: extract UPnP namespace from NetPlayServer

This commit is contained in:
Michael M
2017-08-06 23:26:01 -07:00
parent 9afb2ff40e
commit 3386543a9c
7 changed files with 198 additions and 164 deletions

17
Source/Core/Common/UPnP.h Normal file
View File

@ -0,0 +1,17 @@
// Copyright 2017 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#pragma once
#ifdef USE_UPNP
#include "Common/CommonTypes.h"
namespace UPnP
{
void TryPortmapping(u16 port);
void StopPortmapping();
}
#endif