mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-10-31 07:59:02 -05:00 
			
		
		
		
	nim: Add the basic skeleton of the nim:eca service
Added based off information provided by Switchbrew
This commit is contained in:
		| @@ -71,6 +71,22 @@ public: | ||||
|     } | ||||
| }; | ||||
|  | ||||
| class NIM_ECA final : public ServiceFramework<NIM_ECA> { | ||||
| public: | ||||
|     explicit NIM_ECA() : ServiceFramework{"nim:eca"} { | ||||
|         // clang-format off | ||||
|         static const FunctionInfo functions[] = { | ||||
|             {0, nullptr, "CreateServerInterface"}, | ||||
|             {1, nullptr, "RefreshDebugAvailability"}, | ||||
|             {2, nullptr, "ClearDebugResponse"}, | ||||
|             {3, nullptr, "RegisterDebugResponse"}, | ||||
|         }; | ||||
|         // clang-format on | ||||
|  | ||||
|         RegisterHandlers(functions); | ||||
|     } | ||||
| }; | ||||
|  | ||||
| class NIM_SHP final : public ServiceFramework<NIM_SHP> { | ||||
| public: | ||||
|     explicit NIM_SHP() : ServiceFramework{"nim:shp"} { | ||||
| @@ -214,6 +230,7 @@ private: | ||||
|  | ||||
| void InstallInterfaces(SM::ServiceManager& sm) { | ||||
|     std::make_shared<NIM>()->InstallAsService(sm); | ||||
|     std::make_shared<NIM_ECA>()->InstallAsService(sm); | ||||
|     std::make_shared<NIM_SHP>()->InstallAsService(sm); | ||||
|     std::make_shared<NTC>()->InstallAsService(sm); | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Lioncash
					Lioncash