general_frontend.cpp 900 B

123456789101112131415161718192021222324252627
  1. // Copyright 2019 yuzu emulator team
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #include "common/logging/log.h"
  5. #include "core/frontend/applets/general_frontend.h"
  6. namespace Core::Frontend {
  7. PhotoViewerApplet::~PhotoViewerApplet() = default;
  8. DefaultPhotoViewerApplet::~DefaultPhotoViewerApplet() {}
  9. void DefaultPhotoViewerApplet::ShowPhotosForApplication(u64 title_id,
  10. std::function<void()> finished) const {
  11. LOG_INFO(Service_AM,
  12. "Application requested frontend to display stored photos for title_id={:016X}",
  13. title_id);
  14. finished();
  15. }
  16. void DefaultPhotoViewerApplet::ShowAllPhotos(std::function<void()> finished) const {
  17. LOG_INFO(Service_AM, "Application requested frontend to display all stored photos.");
  18. finished();
  19. }
  20. } // namespace Core::Frontend