AmIApplicationProxy.cs 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. using static Ryujinx.OsHle.Objects.ObjHelper;
  2. namespace Ryujinx.OsHle.Objects
  3. {
  4. class AmIApplicationProxy
  5. {
  6. public static long GetCommonStateGetter(ServiceCtx Context)
  7. {
  8. MakeObject(Context, new AmICommonStateGetter());
  9. return 0;
  10. }
  11. public static long GetSelfController(ServiceCtx Context)
  12. {
  13. MakeObject(Context, new AmISelfController());
  14. return 0;
  15. }
  16. public static long GetWindowController(ServiceCtx Context)
  17. {
  18. MakeObject(Context, new AmIWindowController());
  19. return 0;
  20. }
  21. public static long GetAudioController(ServiceCtx Context)
  22. {
  23. MakeObject(Context, new AmIAudioController());
  24. return 0;
  25. }
  26. public static long GetDisplayController(ServiceCtx Context)
  27. {
  28. MakeObject(Context, new AmIDisplayController());
  29. return 0;
  30. }
  31. public static long GetLibraryAppletCreator(ServiceCtx Context)
  32. {
  33. MakeObject(Context, new AmILibraryAppletCreator());
  34. return 0;
  35. }
  36. public static long GetApplicationFunctions(ServiceCtx Context)
  37. {
  38. MakeObject(Context, new AmIApplicationFunctions());
  39. return 0;
  40. }
  41. public static long GetDebugFunctions(ServiceCtx Context)
  42. {
  43. MakeObject(Context, new AmIDebugFunctions());
  44. return 0;
  45. }
  46. }
  47. }