2022-04-23 04:59:50 -04:00
|
|
|
// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
|
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2018-03-25 12:41:00 +03:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "core/hle/service/service.h"
|
|
|
|
|
|
2020-11-26 15:19:08 -05:00
|
|
|
namespace Core {
|
|
|
|
|
class System;
|
|
|
|
|
}
|
|
|
|
|
|
2018-04-19 21:41:44 -04:00
|
|
|
namespace Service::Sockets {
|
2018-03-25 12:41:00 +03:00
|
|
|
|
|
|
|
|
class NSD final : public ServiceFramework<NSD> {
|
|
|
|
|
public:
|
2020-11-26 15:19:08 -05:00
|
|
|
explicit NSD(Core::System& system_, const char* name);
|
2018-09-10 21:20:52 -04:00
|
|
|
~NSD() override;
|
2023-06-19 18:17:43 -07:00
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
void Resolve(HLERequestContext& ctx);
|
|
|
|
|
void ResolveEx(HLERequestContext& ctx);
|
2018-03-25 12:41:00 +03:00
|
|
|
};
|
|
|
|
|
|
2018-04-19 21:41:44 -04:00
|
|
|
} // namespace Service::Sockets
|