apt.h 1.1 KB

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