From 42568d6af85be772686cce5068f32ca4ce1b3ea0 Mon Sep 17 00:00:00 2001 From: yellows8 Date: Thu, 11 Jun 2020 22:51:48 -0400 Subject: [PATCH] swkbd: Adjusted the order in the .h. --- nx/include/switch/applets/swkbd.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/nx/include/switch/applets/swkbd.h b/nx/include/switch/applets/swkbd.h index 9de119b4..4a48472a 100644 --- a/nx/include/switch/applets/swkbd.h +++ b/nx/include/switch/applets/swkbd.h @@ -597,6 +597,14 @@ Result swkbdInlineClose(SwkbdInline* s); */ Result swkbdInlineLaunch(SwkbdInline* s); +/** + * @brief Same as \ref swkbdInlineLaunch, except mode and unk_x5 for \ref SwkbdInitializeArg are set to the input params. + * @param s SwkbdInline object. + * @param mode Value for SwkbdInitializeArg::mode. + * @param unk_x5 Value for SwkbdInitializeArg::unk_x5. + */ +Result swkbdInlineLaunchForLibraryApplet(SwkbdInline* s, u8 mode, u8 unk_x5); + /** * @brief GetWindowSize * @param[out] width Output width. @@ -626,14 +634,6 @@ Result swkbdInlineGetImageMemoryRequirement(u64 *out_size, u64 *out_alignment); */ Result swkbdInlineGetImage(SwkbdInline* s, void* buffer, u64 size, bool *data_available); -/** - * @brief Same as \ref swkbdInlineLaunch, except mode and unk_x5 for \ref SwkbdInitializeArg are set to the input params. - * @param s SwkbdInline object. - * @param mode Value for SwkbdInitializeArg::mode. - * @param unk_x5 Value for SwkbdInitializeArg::unk_x5. - */ -Result swkbdInlineLaunchForLibraryApplet(SwkbdInline* s, u8 mode, u8 unk_x5); - /** * @brief Handles updating SwkbdInline state, this should be called periodically. * @note Handles applet exit if needed, and also sends the \ref SwkbdInlineCalcArg to the applet if needed. Hence, this should be called at some point after writing to \ref SwkbdInlineCalcArg.