mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-16 15:29:19 +00:00
Common: extract UPnP namespace from NetPlayServer
This commit is contained in:
parent
9afb2ff40e
commit
3386543a9c
7 changed files with 198 additions and 164 deletions
17
Source/Core/Common/UPnP.h
Normal file
17
Source/Core/Common/UPnP.h
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue