All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
kzu_preview_patcher.h File Reference

Preview patcher. More...

Namespaces

 kanzi
 

Functions

kzsError kzuPreviewPatcherPatchFromMemory (const kanzi::Domain *domain, kzUint byteCount, const kzByte *bytes, struct KzuBinarySource **out_binarySource)
 Patches with the given .KZB data. More...
 
kzsError kzuPreviewPatcherPatchFromFile (const kanzi::Domain *domain, kzString filePath, struct KzuBinarySource **out_binarySource)
 Patches with the .KZB data of given file. More...
 
kzsError kzuPreviewPatcherPatchFromFileResource (const kanzi::Domain *domain, 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-2020 by Rightware. All rights reserved.

Function Documentation

kzsError kzuPreviewPatcherPatchFromMemory ( const kanzi::Domain domain,
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 kanzi::Domain domain,
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 kanzi::Domain domain,
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.