class
ProjectLibrarySaveResourceOperation
Project library operation that updates the contents of an existing resource.
Public
Constructors
ProjectLibrarySaveResourceOperation
Constructs the operation.
Methods
PrepareOnMainThread
Performs the first stage of the operation.
Verifies the input parameters are correct, creates library database entries (if possible) and returns success if operation will proceed to execute. Executed on the main thread.
Returns: Operation result and optional error message if failed.
RunOnWorkerThread
Performs the second stage of the operation.
Performs longer lasting tasks such as saving or loading a package, copying a file or generating preview icons. Executed on a worker thread.
FinalizeOnMainThread
Performs the last stage of the operation.
This will be called after the worker thread completes. Will ensure the entries in the project library database match to packages written by the worker thread.