NDEVR
API Documentation
ModuleResources

Manages module resources for building installers, including file offloading and icon retrieval. More...

Collaboration diagram for ModuleResources:
[legend]

Static Public Member Functions

static String MainAppIcon ()
 Gets the main application icon resource name.
static File OffloadResource (StringView resource, File folder_location, bool to_root=false)
 Extracts a resource to a folder location.
static bool ResourceExists (String resource)
 Checks whether a resource exists.

Public Attributes

Dictionary< String, Buffer< File > > global_files
 Globally shared files by directory.
Module module
 The module being packaged.
Dictionary< String, Buffer< File > > other_files
 Additional files by directory.

Detailed Description

Manages module resources for building installers, including file offloading and icon retrieval.


Definition at line 79 of file InstallerManager.h.

Member Function Documentation

◆ MainAppIcon()

String ModuleResources::MainAppIcon ( )
static

Gets the main application icon resource name.

Returns
The icon resource name string.

◆ OffloadResource()

File ModuleResources::OffloadResource ( StringView resource,
File folder_location,
bool to_root = false )
static

Extracts a resource to a folder location.

Parameters
[in]resourceThe resource identifier.
[in]folder_locationThe destination folder.
[in]to_rootWhether to place the resource at the folder root.
Returns
The file path of the offloaded resource.

◆ ResourceExists()

bool ModuleResources::ResourceExists ( String resource)
static

Checks whether a resource exists.

Parameters
[in]resourceThe resource identifier.
Returns
True if the resource exists.

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