mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 20:42:44 +02:00
ns: Added nsGetApplicationManagerInterface(), and removed automatic IApplicationManagerInterface init on [3.0.0+]. Updated all IApplicationManagerInterface cmds to use service-session IApplicationManagerInterface on pre-3.0.0, otherwise nsGetApplicationManagerInterface() is used. Apps which use nsGetServiceSession_ApplicationManagerInterface must now use nsGetApplicationManagerInterface if running on [3.0.0+].
This commit is contained in:
parent
763b32060a
commit
af2b4ab7c3
@ -241,7 +241,7 @@ void nsExit(void);
|
||||
/// Gets the Service object for the actual ns:* service session. Only initialized on [3.0.0+], on pre-3.0.0 see \ref nsGetServiceSession_ApplicationManagerInterface.
|
||||
Service* nsGetServiceSession_GetterInterface(void);
|
||||
|
||||
/// Gets the Service object for IApplicationManagerInterface.
|
||||
/// Gets the Service object for IApplicationManagerInterface. Only initialized on pre-3.0.0, on [3.0.0+] use \ref nsGetApplicationManagerInterface.
|
||||
Service* nsGetServiceSession_ApplicationManagerInterface(void);
|
||||
|
||||
/// Gets the Service object for IReadOnlyApplicationControlDataInterface via the cmd for that.
|
||||
@ -256,6 +256,10 @@ Result nsGetECommerceInterface(Service* srv_out);
|
||||
/// Only available on [3.0.0+].
|
||||
Result nsGetFactoryResetInterface(Service* srv_out);
|
||||
|
||||
/// Gets the Service object for IApplicationManagerInterface via the cmd for that.
|
||||
/// Only available on [3.0.0+], on prior sysvers use \ref nsGetServiceSession_ApplicationManagerInterface.
|
||||
Result nsGetApplicationManagerInterface(Service* srv_out);
|
||||
|
||||
/// Gets the Service object for IDownloadTaskInterface via the cmd for that.
|
||||
/// Only available on [3.0.0+].
|
||||
Result nsGetDownloadTaskInterface(Service* srv_out);
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user