wut  v1.7.0
Wii U Toolchain
Public Member Functions | Static Public Member Functions
LaunchInfoDatabase Class Reference

#include <LaunchInfoDatabase.h>

Public Member Functions

 LaunchInfoDatabase ()
 
 ~LaunchInfoDatabase ()
 
void Finalize ()
 
nn::Result Load (nn::sl::details::IStreamBase &fileStream, nn::sl::Region region)
 
nn::Result Store (nn::sl::details::IStreamBase &fileStream)
 
nn::Result LoadInitial (int maxEntries, nn::sl::Region region)
 
nn::Result GetLaunchInfoById (nn::sl::LaunchInfo *launchInfo, uint64_t id) const
 
std::optional< uint32_t > GetEntryCount () const
 
std::optional< uint64_t > GetCurrentId () const
 
std::optional< uint64_t > Register (const nn::sl::LaunchInfo &launchInfo)
 
nn::Result Unregister (uint64_t id)
 
void Clear ()
 

Static Public Member Functions

static nn::Result LoadInitial (LaunchInfoDatabase &launchDatabase, uint32_t maxEntries, nn::sl::LaunchInfoDatabaseEntry *defaultEntries, uint32_t defaultEntryNum)
 
static uint32_t ListLaunchInfos (const LaunchInfoDatabase &launchDatabase, nn::sl::LaunchInfoDatabaseEntry *entriesOut, uint32_t num)
 
static nn::Result Load (LaunchInfoDatabase &launchDatabase, nn::sl::details::IStreamBase &fileStream, nn::sl::LaunchInfoDatabaseEntry *defaultEntries, uint32_t defaultEntryNum)
 

Detailed Description

Definition at line 47 of file LaunchInfoDatabase.h.

Constructor & Destructor Documentation

◆ LaunchInfoDatabase()

LaunchInfoDatabase ( )
inline

Definition at line 49 of file LaunchInfoDatabase.h.

◆ ~LaunchInfoDatabase()

~LaunchInfoDatabase ( )
inline

Definition at line 53 of file LaunchInfoDatabase.h.

Member Function Documentation

◆ Finalize()

void Finalize ( )
inline

Definition at line 57 of file LaunchInfoDatabase.h.

◆ Load() [1/2]

nn::Result Load ( nn::sl::details::IStreamBase fileStream,
nn::sl::Region  region 
)
inline

Definition at line 64 of file LaunchInfoDatabase.h.

◆ Store()

nn::Result Store ( nn::sl::details::IStreamBase fileStream)
inline

Definition at line 71 of file LaunchInfoDatabase.h.

◆ LoadInitial() [1/2]

nn::Result LoadInitial ( int  maxEntries,
nn::sl::Region  region 
)
inline

Definition at line 78 of file LaunchInfoDatabase.h.

◆ GetLaunchInfoById()

nn::Result GetLaunchInfoById ( nn::sl::LaunchInfo launchInfo,
uint64_t  id 
) const
inline

Definition at line 85 of file LaunchInfoDatabase.h.

◆ GetEntryCount()

std::optional<uint32_t> GetEntryCount ( ) const
inline

Definition at line 92 of file LaunchInfoDatabase.h.

◆ GetCurrentId()

std::optional<uint64_t> GetCurrentId ( ) const
inline

Definition at line 99 of file LaunchInfoDatabase.h.

◆ Register()

std::optional<uint64_t> Register ( const nn::sl::LaunchInfo launchInfo)
inline

Definition at line 106 of file LaunchInfoDatabase.h.

◆ Unregister()

nn::Result Unregister ( uint64_t  id)
inline

Definition at line 113 of file LaunchInfoDatabase.h.

◆ Clear()

void Clear ( )
inline

Definition at line 120 of file LaunchInfoDatabase.h.

◆ LoadInitial() [2/2]

static nn::Result LoadInitial ( LaunchInfoDatabase launchDatabase,
uint32_t  maxEntries,
nn::sl::LaunchInfoDatabaseEntry defaultEntries,
uint32_t  defaultEntryNum 
)
inlinestatic

Definition at line 127 of file LaunchInfoDatabase.h.

◆ ListLaunchInfos()

static uint32_t ListLaunchInfos ( const LaunchInfoDatabase launchDatabase,
nn::sl::LaunchInfoDatabaseEntry entriesOut,
uint32_t  num 
)
inlinestatic

Definition at line 134 of file LaunchInfoDatabase.h.

◆ Load() [2/2]

static nn::Result Load ( LaunchInfoDatabase launchDatabase,
nn::sl::details::IStreamBase fileStream,
nn::sl::LaunchInfoDatabaseEntry defaultEntries,
uint32_t  defaultEntryNum 
)
inlinestatic

Definition at line 141 of file LaunchInfoDatabase.h.


The documentation for this class was generated from the following file: