ethc.cpp 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. // Copyright 2018 yuzu emulator team
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #include "core/hle/service/sockets/ethc.h"
  5. namespace Service::Sockets {
  6. ETHC_C::ETHC_C() : ServiceFramework{"ethc:c"} {
  7. // clang-format off
  8. static const FunctionInfo functions[] = {
  9. {0, nullptr, "Initialize"},
  10. {1, nullptr, "Cancel"},
  11. {2, nullptr, "GetResult"},
  12. {3, nullptr, "GetMediaList"},
  13. {4, nullptr, "SetMediaType"},
  14. {5, nullptr, "GetMediaType"},
  15. };
  16. // clang-format on
  17. RegisterHandlers(functions);
  18. }
  19. ETHC_C::~ETHC_C() = default;
  20. ETHC_I::ETHC_I() : ServiceFramework{"ethc:i"} {
  21. // clang-format off
  22. static const FunctionInfo functions[] = {
  23. {0, nullptr, "GetReadableHandle"},
  24. {1, nullptr, "Cancel"},
  25. {2, nullptr, "GetResult"},
  26. {3, nullptr, "GetInterfaceList"},
  27. {4, nullptr, "GetInterfaceCount"},
  28. };
  29. // clang-format on
  30. RegisterHandlers(functions);
  31. }
  32. ETHC_I::~ETHC_I() = default;
  33. } // namespace Service::Sockets