diff options
| author | 2014-04-15 22:40:19 -0400 | |
|---|---|---|
| committer | 2014-04-15 22:40:19 -0400 | |
| commit | 7ec5950bc4c8e4a786df1f4c3392d7b5332d1613 (patch) | |
| tree | 7d7046dcced5ce635921ebdadabf1a1aa8b0647f /src/core/hle/service/apt.h | |
| parent | added helper functions for upper/lowercase strings (diff) | |
| download | yuzu-7ec5950bc4c8e4a786df1f4c3392d7b5332d1613.tar.gz yuzu-7ec5950bc4c8e4a786df1f4c3392d7b5332d1613.tar.xz yuzu-7ec5950bc4c8e4a786df1f4c3392d7b5332d1613.zip | |
- extracted srv: calls from service.cpp and put in its own module
- added function tables for service calls
- lots of refactoring
Diffstat (limited to 'src/core/hle/service/apt.h')
| -rw-r--r-- | src/core/hle/service/apt.h | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/src/core/hle/service/apt.h b/src/core/hle/service/apt.h index 3730bc30e..0e1f205c7 100644 --- a/src/core/hle/service/apt.h +++ b/src/core/hle/service/apt.h | |||
| @@ -17,13 +17,13 @@ namespace Service { | |||
| 17 | // exactly the same, however certain commands are only accessible with APT:S(NS module will call | 17 | // exactly the same, however certain commands are only accessible with APT:S(NS module will call |
| 18 | // svcBreak when the command isn't accessible). See http://3dbrew.org/wiki/NS#APT_Services. | 18 | // svcBreak when the command isn't accessible). See http://3dbrew.org/wiki/NS#APT_Services. |
| 19 | 19 | ||
| 20 | class APT : public Interface { | 20 | class APT_U : public Interface { |
| 21 | public: | 21 | public: |
| 22 | 22 | ||
| 23 | APT() { | 23 | APT_U() { |
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | ~APT() { | 26 | ~APT_U() { |
| 27 | } | 27 | } |
| 28 | 28 | ||
| 29 | enum { | 29 | enum { |
| @@ -45,14 +45,6 @@ public: | |||
| 45 | }; | 45 | }; |
| 46 | 46 | ||
| 47 | /** | 47 | /** |
| 48 | * Gets the string name used by CTROS for the APT service | ||
| 49 | * @return String name of service | ||
| 50 | */ | ||
| 51 | std::string GetName() const { | ||
| 52 | return "APT"; | ||
| 53 | } | ||
| 54 | |||
| 55 | /** | ||
| 56 | * Gets the string port name used by CTROS for the APT service | 48 | * Gets the string port name used by CTROS for the APT service |
| 57 | * @return Port name of service | 49 | * @return Port name of service |
| 58 | */ | 50 | */ |
| @@ -68,10 +60,9 @@ public: | |||
| 68 | 60 | ||
| 69 | private: | 61 | private: |
| 70 | 62 | ||
| 71 | |||
| 72 | Syscall::Result GetLockHandle(); | 63 | Syscall::Result GetLockHandle(); |
| 73 | 64 | ||
| 74 | 65 | DISALLOW_COPY_AND_ASSIGN(APT_U); | |
| 75 | }; | 66 | }; |
| 76 | 67 | ||
| 77 | } // namespace | 68 | } // namespace |