#include <assets.h>
Asset repository which allows to update assets.
Public Member Functions | |
MAXON_METHOD Result< BaseArray< AssetRepositoryUpdate > > | GetPendingUpdates (Bool reset) const |
MAXON_METHOD Result< void > | Update (const Block< const AssetRepositoryUpdate > &updates) |
Private Member Functions | |
MAXON_INTERFACE (UpdatableAssetRepositoryInterface, MAXON_REFERENCE_NORMAL, "net.maxon.interface.updatableassetrepository") | |
|
private |
MAXON_METHOD Result<BaseArray<AssetRepositoryUpdate> > GetPendingUpdates | ( | Bool | reset | ) | const |
GetPendingUpdates returns an array with a list of unsaved changes.
[in] | reset | True to reset the changes. |
MAXON_METHOD Result<void> Update | ( | const Block< const AssetRepositoryUpdate > & | updates | ) |
Update applies the updates to the repository.
[in] | updates | Updates to process |