UpdatableAssetRepositoryInterface Class Reference

#include <assets.h>

Inheritance diagram for UpdatableAssetRepositoryInterface:

Detailed Description

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")
 

Member Function Documentation

◆ MAXON_INTERFACE()

MAXON_INTERFACE ( UpdatableAssetRepositoryInterface  ,
MAXON_REFERENCE_NORMAL  ,
"net.maxon.interface.updatableassetrepository"   
)
private

◆ GetPendingUpdates()

MAXON_METHOD Result<BaseArray<AssetRepositoryUpdate> > GetPendingUpdates ( Bool  reset) const

GetPendingUpdates returns an array with a list of unsaved changes.

Parameters
[in]resetTrue to reset the changes.
Returns
Array on success.

◆ Update()

MAXON_METHOD Result<void> Update ( const Block< const AssetRepositoryUpdate > &  updates)

Update applies the updates to the repository.

Parameters
[in]updatesUpdates to process
Returns
OK on success.