libnx  v4.2.2
Data Structures | Enumerations | Functions
pl.h File Reference

pl:u service IPC wrapper. More...

#include "../types.h"
#include "../sf/service.h"

Go to the source code of this file.

Data Structures

struct  PlFontData
 FontData. More...
 

Enumerations

enum  PlServiceType {
  PlServiceType_User = 0,
  PlServiceType_System = 1
}
 
enum  PlSharedFontType {
  PlSharedFontType_Standard = 0,
  PlSharedFontType_ChineseSimplified = 1,
  PlSharedFontType_ExtChineseSimplified = 2,
  PlSharedFontType_ChineseTraditional = 3,
  PlSharedFontType_KO = 4,
  PlSharedFontType_NintendoExt = 5,
  PlSharedFontType_Total
}
 SharedFontType. More...
 

Functions

Result plInitialize (PlServiceType service_type)
 Initialize pl.
 
void plExit (void)
 Exit pl.
 
ServiceplGetServiceSession (void)
 Gets the Service object for the actual pl service session.
 
void * plGetSharedmemAddr (void)
 Gets the address of the SharedMemory. More...
 
Result plGetSharedFontByType (PlFontData *font, PlSharedFontType SharedFontType)
 Gets shared font(s).
 
Result plGetSharedFont (u64 LanguageCode, PlFontData *fonts, s32 max_fonts, s32 *total_fonts)
 

Detailed Description

pl:u service IPC wrapper.

Author
yellows8

Enumeration Type Documentation

◆ PlServiceType

Enumerator
PlServiceType_User 

Initializes pl:u.

PlServiceType_System 

Initializes pl:s.

◆ PlSharedFontType

SharedFontType.

Enumerator
PlSharedFontType_Standard 

Japan, US and Europe.

PlSharedFontType_ChineseSimplified 

Chinese Simplified.

PlSharedFontType_ExtChineseSimplified 

Extended Chinese Simplified.

PlSharedFontType_ChineseTraditional 

Chinese Traditional.

PlSharedFontType_KO 

Korean (Hangul)

PlSharedFontType_NintendoExt 

Nintendo Extended. This font only has the special Nintendo-specific characters, which aren't available with the other fonts.

PlSharedFontType_Total 

Total fonts supported by this enum.

Function Documentation

◆ plGetSharedmemAddr()

void* plGetSharedmemAddr ( void  )

Gets the address of the SharedMemory.

Gets a specific shared-font via PlSharedFontType.