From ffabed8c25490be0e61409cebd1615eedb223c3d Mon Sep 17 00:00:00 2001 From: bunnei Date: Tue, 15 Apr 2014 23:28:03 -0400 Subject: restructured hle:services completely to use function lookup tables --- src/core/hle/service/apt.h | 30 ++---------------------------- 1 file changed, 2 insertions(+), 28 deletions(-) (limited to 'src/core/hle/service/apt.h') diff --git a/src/core/hle/service/apt.h b/src/core/hle/service/apt.h index 2be5a7e15..9f0245cc8 100644 --- a/src/core/hle/service/apt.h +++ b/src/core/hle/service/apt.h @@ -20,29 +20,9 @@ namespace APT_U { class Interface : public Service::Interface { public: - Interface() { - } - - ~Interface() { - } - - enum { - CMD_OFFSET = 0x00000080, + Interface(); - CMD_HEADER_INIT = 0x00020080, ///< Initialize service - CMD_HEADER_GET_LOCK_HANDLE = 0x00010040, ///< Get service Mutex - CMD_HEADER_ENABLE = 0x00030040, ///< Enable service - CMD_HEADER_INQUIRE_NOTIFICATION = 0x000B0040, ///< Inquire notification - CMD_HEADER_PREPARE_TO_JUMP_TO_HOME_MENU = 0x002B0000, ///< Prepare to jump to home menu - CMD_HEADER_JUMP_TO_HOME_MENU = 0x002C0044, ///< Jump to home menu - CMD_HEADER_NOTIFY_TO_WAIT = 0x00430040, ///< Notify to wait - CMD_HEADER_APPLET_UTILITY = 0x004B00C2, ///< Applet utility - CMD_HEADER_GLANCE_PARAMETER = 0x000E0080, ///< Glance parameter - CMD_HEADER_RECEIVE_PARAMETER = 0x000D0080, ///< Receive parameter - CMD_HEADER_REPLY_SLEEP_QUERY = 0x003E0080, ///< Reply sleep query - CMD_HEADER_PREPARE_TO_CLOSE_APP = 0x00220040, ///< Prepare to close application - CMD_HEADER_CLOSE_APP = 0x00270044, ///< Close application - }; + ~Interface(); /** * Gets the string port name used by CTROS for the APT service @@ -52,12 +32,6 @@ public: return "APT:U"; } - /** - * Called when svcSendSyncRequest is called, loads command buffer and executes comand - * @return Return result of svcSendSyncRequest passed back to user app - */ - Syscall::Result Sync(); - private: Syscall::Result GetLockHandle(); -- cgit v1.2.3