Метод | Описание | |
---|---|---|
Add ( HandBrake.ApplicationServices.Model.QueueTask job ) : void |
Add a job to the Queue. This method is Thread Safe.
|
|
BackupQueue ( string exportPath ) : void |
Backup any changes to the queue file
|
|
CheckForDestinationPathDuplicates ( string destination ) : bool |
Checks the current queue for an existing instance of the specified destination.
|
|
ClearCompleted ( ) : void |
Clear down the Queue´s completed items
|
|
GetNextJobForProcessing ( ) : HandBrake.ApplicationServices.Model.QueueTask |
Get the first job on the queue for processing. This also removes the job from the Queue and sets the LastProcessedJob
|
|
MoveDown ( int index ) : void |
Moves an item down one position in the queue.
|
|
MoveUp ( int index ) : void |
Moves an item up one position in the queue.
|
|
QueueManager ( int instanceId ) : System |
Initializes a new instance of the QueueManager class.
|
|
Remove ( HandBrake.ApplicationServices.Model.QueueTask job ) : void |
Remove a job from the Queue. This method is Thread Safe
|
|
ResetJobStatusToWaiting ( HandBrake.ApplicationServices.Model.QueueTask job ) : void |
Reset a Queued Item from Error or Completed to Waiting
|
|
RestoreQueue ( string importPath ) : void |
Restore a Queue from file or from the queue backup file.
|
|
WriteBatchScriptToFile ( string file ) : bool |
Writes the current state of the queue in the form of a batch (.bat) file.
|
Метод | Описание | |
---|---|---|
InvokeQueueChanged ( |
Invoke the Queue Changed Event
|
public Add ( HandBrake.ApplicationServices.Model.QueueTask job ) : void | ||
job | HandBrake.ApplicationServices.Model.QueueTask | /// The encode Job object. /// |
Результат | void |
public BackupQueue ( string exportPath ) : void | ||
exportPath | string | /// If this is not null or empty, this will be used instead of the standard backup location. /// |
Результат | void |
public CheckForDestinationPathDuplicates ( string destination ) : bool | ||
destination | string | The destination of the encode. |
Результат | bool |
public GetNextJobForProcessing ( ) : HandBrake.ApplicationServices.Model.QueueTask | ||
Результат | HandBrake.ApplicationServices.Model.QueueTask |
public MoveDown ( int index ) : void | ||
index | int | The zero-based location of the job in the queue. |
Результат | void |
public MoveUp ( int index ) : void | ||
index | int | The zero-based location of the job in the queue. |
Результат | void |
public QueueManager ( int instanceId ) : System | ||
instanceId | int | /// The instance Id. /// |
Результат | System |
public Remove ( HandBrake.ApplicationServices.Model.QueueTask job ) : void | ||
job | HandBrake.ApplicationServices.Model.QueueTask | /// The job. /// |
Результат | void |
public ResetJobStatusToWaiting ( HandBrake.ApplicationServices.Model.QueueTask job ) : void | ||
job | HandBrake.ApplicationServices.Model.QueueTask | /// The job. /// |
Результат | void |
public RestoreQueue ( string importPath ) : void | ||
importPath | string | /// The import path. String.Empty or null will result in the default file being loaded. /// |
Результат | void |
public WriteBatchScriptToFile ( string file ) : bool | ||
file | string | /// The location of the file to write the batch file to. /// |
Результат | bool |