apt_s.h 951 B

1234567891011121314151617181920212223242526272829
  1. // Copyright 2015 Citra Emulator Project
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #pragma once
  5. #include "core/hle/service/service.h"
  6. namespace Service {
  7. namespace APT {
  8. // Application and title launching service. These services handle signaling for home/power button as
  9. // well. Only one session for either APT service can be open at a time, normally processes close the
  10. // service handle immediately once finished using the service. The commands for APT:U and APT:S are
  11. // exactly the same, however certain commands are only accessible with APT:S(NS module will call
  12. // svcBreak when the command isn't accessible). See http://3dbrew.org/wiki/NS#APT_Services.
  13. /// Interface to "APT:S" service
  14. class APT_S_Interface : public Service::Interface {
  15. public:
  16. APT_S_Interface();
  17. std::string GetPortName() const override {
  18. return "APT:S";
  19. }
  20. };
  21. } // namespace APT
  22. } // namespace Service