Preview patcher. More...
#include <kanzi/core/cpp/cstddef.hpp>
#include <kanzi/core/legacy/kzs_types.hpp>
#include <kanzi/core/legacy/debug/kzs_error.hpp>
Namespaces | |
kanzi | |
Macros | |
#define | KZ_FEATURE_PATCHING |
Functions | |
kzsError | kzuPreviewPatcherPatchFromMemory (const kanzi::Domain *domain, kzUint byteCount, const kanzi::byte *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... | |
Preview patcher.
This component provides mechanism for loading and patching .KZB binary data while running under Tool preview.
Copyright 2008-2017 by Rightware. All rights reserved.
#define KZ_FEATURE_PATCHING |
kzsError kzuPreviewPatcherPatchFromMemory | ( | const kanzi::Domain * | domain, |
kzUint | byteCount, | ||
const kanzi::byte * | 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.