XS Framework
A 3DS homebrew development framework.
 
Loading...
Searching...
No Matches
xs::sys::news Namespace Reference

3DS Notification utilities. More...

Functions

bool addNotification (const std::string &title, const std::string &message)
 Add a text notification (no image).
 
void utf8ToUtf16 (u16 *dst, const char *src, size_t maxChars)
 Basic ASCII-only UTF-8 → UTF-16 converter.
 

Detailed Description

3DS Notification utilities.

Function Documentation

◆ addNotification()

bool xs::sys::news::addNotification ( const std::string & title,
const std::string & message )

Add a text notification (no image).

Parameters
titleTitle text
messageMessage text
Returns
true if notification was added successfully

◆ utf8ToUtf16()

void xs::sys::news::utf8ToUtf16 ( u16 * dst,
const char * src,
size_t maxChars )

Basic ASCII-only UTF-8 → UTF-16 converter.