add base for wifi AP

This commit is contained in:
StapleButter 2017-12-18 19:53:51 +01:00
parent 4ec2d109f7
commit 07685a80a6
3 changed files with 75 additions and 0 deletions

View File

@ -139,6 +139,8 @@
<Unit filename="src/SPU.h" />
<Unit filename="src/Wifi.cpp" />
<Unit filename="src/Wifi.h" />
<Unit filename="src/WifiAP.cpp" />
<Unit filename="src/WifiAP.h" />
<Unit filename="src/libui_sdl/DlgEmuSettings.cpp" />
<Unit filename="src/libui_sdl/DlgEmuSettings.h" />
<Unit filename="src/libui_sdl/DlgInputConfig.cpp" />
@ -230,10 +232,20 @@
<Unit filename="src/libui_sdl/libui/windows/winutil.cpp" />
<Unit filename="src/libui_sdl/main.cpp" />
<Unit filename="src/melon_fopen.h" />
<Unit filename="src/pcap/bluetooth.h" />
<Unit filename="src/pcap/bpf.h" />
<Unit filename="src/pcap/can_socketcan.h" />
<Unit filename="src/pcap/compiler-tests.h" />
<Unit filename="src/pcap/dlt.h" />
<Unit filename="src/pcap/funcattrs.h" />
<Unit filename="src/pcap/ipnet.h" />
<Unit filename="src/pcap/namedb.h" />
<Unit filename="src/pcap/nflog.h" />
<Unit filename="src/pcap/pcap-inttypes.h" />
<Unit filename="src/pcap/pcap.h" />
<Unit filename="src/pcap/sll.h" />
<Unit filename="src/pcap/usb.h" />
<Unit filename="src/pcap/vlan.h" />
<Unit filename="src/types.h" />
<Unit filename="src/version.h" />
<Unit filename="xp.manifest" />

30
src/WifiAP.cpp Normal file
View File

@ -0,0 +1,30 @@
/*
Copyright 2016-2017 StapleButter
This file is part of melonDS.
melonDS is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option)
any later version.
melonDS is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with melonDS. If not, see http://www.gnu.org/licenses/.
*/
#include <stdio.h>
#include <string.h>
#include "Wifi.h"
#include "WifiAP.h"
namespace WifiAP
{
//
}

33
src/WifiAP.h Normal file
View File

@ -0,0 +1,33 @@
/*
Copyright 2016-2017 StapleButter
This file is part of melonDS.
melonDS is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option)
any later version.
melonDS is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with melonDS. If not, see http://www.gnu.org/licenses/.
*/
#ifndef WIFIAP_H
#define WIFIAP_H
namespace WifiAP
{
bool Init();
void DeInit();
void Reset();
//
}
#endif