9 #include "../sf/service.h"
10 #include "../services/mii.h"
Service * miiimgGetServiceSession(void)
Gets the Service object for the actual miiimg service session.
Result miiimgReload(void)
Reloads the image database.
Result miiimgIsFull(bool *out_full)
Gets whether the image database is full.
Result miiimgInitialize(void)
Initialize miiimg.
void miiimgExit(void)
Exit miiimg.
Result miiimgLoadImage(MiiimgImageId id, void *out_image, size_t out_image_size)
Loads the image data (raw RGBA8) for the specified image ID.
Result miiimgIsEmpty(bool *out_empty)
Gets whether the image database is empty.
Result miiimgGetAttribute(s32 index, MiiimgImageAttribute *out_attr)
Gets the image attribute for the specified image index.
Result miiimgGetCount(s32 *out_count)
Gets the number of mii images in the database.
Image attribute.
Definition: miiimg.h:18
MiiimgImageId image_id
Image ID.
Definition: miiimg.h:19
MiiCreateId create_id
Mii's create ID.
Definition: miiimg.h:20
Image ID.
Definition: miiimg.h:13
Service object structure.
Definition: service.h:14
#define NX_PACKED
Packs a struct so that it won't include padding bytes.
Definition: types.h:63
uint16_t u16
16-bit unsigned integer.
Definition: types.h:20
u32 Result
Function error code result type.
Definition: types.h:44
int32_t s32
32-bit signed integer.
Definition: types.h:27
uint32_t u32
32-bit unsigned integer.
Definition: types.h:21