mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-12-23 00:30:17 +00:00
6a5ea92a4e
Uthernet II: add extended feature to virtualise DNS requests. . This allows pure TCP/UDP sockets to run *without* MACRAW requests (and so without libpcap). . Raw sockets will not work. . Add configuration for Virtual DNS. libpcap: ensure all functions check if the library is loaded before using it. Uthernet 1: do NOT overwrite tfe_cannot_use as it should only reflect the availability of npcap on *this* system. Add Copyright notice, and mention Virtual DNS in html.
35 lines
806 B
C++
35 lines
806 B
C++
#pragma once
|
|
|
|
#include "../Core.h"
|
|
#include "../CPU.h"
|
|
#include "../Video.h"
|
|
|
|
class CConfigNeedingRestart
|
|
{
|
|
public:
|
|
// zero initialise
|
|
CConfigNeedingRestart();
|
|
|
|
// create from current global configuration
|
|
static CConfigNeedingRestart Create();
|
|
|
|
// update from current global configuration
|
|
void Reload();
|
|
|
|
const CConfigNeedingRestart& operator= (const CConfigNeedingRestart& other);
|
|
|
|
bool operator== (const CConfigNeedingRestart& other) const;
|
|
|
|
bool operator!= (const CConfigNeedingRestart& other) const;
|
|
|
|
eApple2Type m_Apple2Type;
|
|
eCpuType m_CpuType;
|
|
SS_CARDTYPE m_Slot[NUM_SLOTS];
|
|
SS_CARDTYPE m_SlotAux;
|
|
std::string m_tfeInterface;
|
|
bool m_tfeVirtualDNS;
|
|
UINT m_bEnableTheFreezesF8Rom;
|
|
UINT m_uSaveLoadStateMsg;
|
|
VideoRefreshRate_e m_videoRefreshRate;
|
|
};
|