StubHost.cpp 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. // Copyright 2017 Dolphin Emulator Project
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. // Stub implementation of the Host_* callbacks for DSPTool. These implementations
  4. // do nothing except return default values when required.
  5. #include <string>
  6. #include <vector>
  7. #include "Core/Host.h"
  8. std::vector<std::string> Host_GetPreferredLocales()
  9. {
  10. return {};
  11. }
  12. void Host_PPCSymbolsChanged()
  13. {
  14. }
  15. void Host_PPCBreakpointsChanged()
  16. {
  17. }
  18. void Host_RefreshDSPDebuggerWindow()
  19. {
  20. }
  21. void Host_Message(HostMessageID)
  22. {
  23. }
  24. void Host_UpdateTitle(const std::string&)
  25. {
  26. }
  27. void Host_UpdateDiscordClientID(const std::string& client_id)
  28. {
  29. }
  30. bool Host_UpdateDiscordPresenceRaw(const std::string& details, const std::string& state,
  31. const std::string& large_image_key,
  32. const std::string& large_image_text,
  33. const std::string& small_image_key,
  34. const std::string& small_image_text,
  35. const int64_t start_timestamp, const int64_t end_timestamp,
  36. const int party_size, const int party_max)
  37. {
  38. return false;
  39. }
  40. void Host_UpdateDisasmDialog()
  41. {
  42. }
  43. void Host_JitCacheInvalidation()
  44. {
  45. }
  46. void Host_JitProfileDataWiped()
  47. {
  48. }
  49. void Host_UpdateMainFrame()
  50. {
  51. }
  52. void Host_RequestRenderWindowSize(int, int)
  53. {
  54. }
  55. bool Host_RendererHasFocus()
  56. {
  57. return false;
  58. }
  59. bool Host_RendererHasFullFocus()
  60. {
  61. return false;
  62. }
  63. bool Host_RendererIsFullscreen()
  64. {
  65. return false;
  66. }
  67. bool Host_TASInputHasFocus()
  68. {
  69. return false;
  70. }
  71. void Host_YieldToUI()
  72. {
  73. }
  74. void Host_TitleChanged()
  75. {
  76. }
  77. std::unique_ptr<GBAHostInterface> Host_CreateGBAHost(std::weak_ptr<HW::GBA::Core> core)
  78. {
  79. return nullptr;
  80. }
  81. bool Host_UIBlocksControllerState()
  82. {
  83. return false;
  84. }