Kanzi Graphics Engine
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
kzu_preview_patcher.h File Reference

Preview patcher. More...

Functions

kzsError kzuPreviewPatcherPatchFromMemory (const struct KzuUIDomain *uiDomain, kzUint byteCount, const kzByte *bytes, struct KzuBinarySource **out_binarySource)
 Patches with the given .KZB data. More...
 
kzsError kzuPreviewPatcherPatchFromFile (const struct KzuUIDomain *uiDomain, kzString filePath, struct KzuBinarySource **out_binarySource)
 Patches with the .KZB data of given file. More...
 
kzsError kzuPreviewPatcherPatchFromFileResource (const struct KzuUIDomain *uiDomain, kzString resourcePath, struct KzuBinarySource **out_binarySource)
 Patches with the .KZB data of given resource. More...
 

Detailed Description

Preview patcher.

This component provides mechanism for loading and patching .KZB binary data while running under Tool preview.

Copyright 2008-2019 by Rightware. All rights reserved.

Function Documentation

kzsError kzuPreviewPatcherPatchFromMemory ( const struct KzuUIDomain uiDomain,
kzUint  byteCount,
const kzByte bytes,
struct KzuBinarySource **  out_binarySource 
)

Patches with the given .KZB data.

Returns the binary source that was created for the data. out_binarySource can be KZ_NULL.

kzsError kzuPreviewPatcherPatchFromFile ( const struct KzuUIDomain uiDomain,
kzString  filePath,
struct KzuBinarySource **  out_binarySource 
)

Patches with the .KZB data of given file.

Returns the binary source that was created for the data. out_binarySource can be KZ_NULL.

kzsError kzuPreviewPatcherPatchFromFileResource ( const struct KzuUIDomain uiDomain,
kzString  resourcePath,
struct KzuBinarySource **  out_binarySource 
)

Patches with the .KZB data of given resource.

Returns the binary source that was created for the data. out_binarySource can be KZ_NULL.