libnx  v4.6.0
Data Structures | Enumerations | Functions
mii_la.h File Reference

Wrapper for using the MiiEdit LibraryApplet. More...

#include "../types.h"
#include "../services/mii.h"

Go to the source code of this file.

Data Structures

struct  MiiLaAppletInput
 AppletInput. More...
 
struct  MiiLaAppletOutput
 AppletOutput. More...
 
struct  MiiLaAppletOutputForCharInfoEditing
 AppletOutputForCharInfoEditing. More...
 

Enumerations

enum  MiiLaAppletMode {
  MiiLaAppletMode_ShowMiiEdit = 0 ,
  MiiLaAppletMode_AppendMii = 1 ,
  MiiLaAppletMode_AppendMiiImage = 2 ,
  MiiLaAppletMode_UpdateMiiImage = 3 ,
  MiiLaAppletMode_CreateMii = 4 ,
  MiiLaAppletMode_EditMii = 5
}
 AppletMode. More...
 

Functions

Result miiLaShowMiiEdit (MiiSpecialKeyCode special_key_code)
 Launches the applet for ShowMiiEdit. More...
 
Result miiLaAppendMii (MiiSpecialKeyCode special_key_code, s32 *index)
 Launches the applet for AppendMii. More...
 
Result miiLaAppendMiiImage (MiiSpecialKeyCode special_key_code, const Uuid *valid_uuid_array, s32 count, s32 *index)
 Launches the applet for AppendMiiImage. More...
 
Result miiLaUpdateMiiImage (MiiSpecialKeyCode special_key_code, const Uuid *valid_uuid_array, s32 count, Uuid used_uuid, s32 *index)
 Launches the applet for UpdateMiiImage. More...
 
Result miiLaCreateMii (MiiSpecialKeyCode special_key_code, MiiCharInfo *out_char)
 Launches the applet for CreateMii. More...
 
Result miiLaEditMii (MiiSpecialKeyCode special_key_code, const MiiCharInfo *in_char, MiiCharInfo *out_char)
 Launches the applet for EditMii. More...
 

Detailed Description

Wrapper for using the MiiEdit LibraryApplet.

Author
yellows8

Enumeration Type Documentation

◆ MiiLaAppletMode

AppletMode.

Enumerator
MiiLaAppletMode_ShowMiiEdit 

ShowMiiEdit.

MiiLaAppletMode_AppendMii 

AppendMii.

MiiLaAppletMode_AppendMiiImage 

AppendMiiImage.

MiiLaAppletMode_UpdateMiiImage 

UpdateMiiImage.

MiiLaAppletMode_CreateMii 

[10.2.0+] CreateMii

MiiLaAppletMode_EditMii 

[10.2.0+] EditMii

Function Documentation

◆ miiLaAppendMii()

Result miiLaAppendMii ( MiiSpecialKeyCode  special_key_code,
s32 index 
)

Launches the applet for AppendMii.

Parameters
[in]special_key_codeMiiSpecialKeyCode
[out]indexOutput Index.

◆ miiLaAppendMiiImage()

Result miiLaAppendMiiImage ( MiiSpecialKeyCode  special_key_code,
const Uuid valid_uuid_array,
s32  count,
s32 index 
)

Launches the applet for AppendMiiImage.

Parameters
[in]special_key_codeMiiSpecialKeyCode
[in]valid_uuid_arrayInput array of Uuid.
[in]countTotal entries for the valid_uuid_array. Must be 0-8.
[out]indexOutput Index.

◆ miiLaCreateMii()

Result miiLaCreateMii ( MiiSpecialKeyCode  special_key_code,
MiiCharInfo out_char 
)

Launches the applet for CreateMii.

Note
This creates a Mii and returns it, without saving it in the database.
Only available on [10.2.0+].
Parameters
[in]special_key_codeMiiSpecialKeyCode
[out]out_charMiiCharInfo

◆ miiLaEditMii()

Result miiLaEditMii ( MiiSpecialKeyCode  special_key_code,
const MiiCharInfo in_char,
MiiCharInfo out_char 
)

Launches the applet for EditMii.

Note
This edits the specified Mii and returns it, without saving it in the database.
Only available on [10.2.0+].
Parameters
[in]special_key_codeMiiSpecialKeyCode
[in]in_charMiiCharInfo
[out]out_charMiiCharInfo

◆ miiLaShowMiiEdit()

Result miiLaShowMiiEdit ( MiiSpecialKeyCode  special_key_code)

Launches the applet for ShowMiiEdit.

Parameters
[in]special_key_codeMiiSpecialKeyCode

◆ miiLaUpdateMiiImage()

Result miiLaUpdateMiiImage ( MiiSpecialKeyCode  special_key_code,
const Uuid valid_uuid_array,
s32  count,
Uuid  used_uuid,
s32 index 
)

Launches the applet for UpdateMiiImage.

Parameters
[in]special_key_codeMiiSpecialKeyCode
[in]valid_uuid_arrayInput array of Uuid.
[in]countTotal entries for the valid_uuid_array. Must be 0-8.
[in]used_uuidUsedUuid
[out]indexOutput Index.