summaryrefslogtreecommitdiffstats
path: root/win/C#/EncodeQueue/EncodeProcess.cs
blob: c65caea0d70f10b27dce99f4f0d0eb9efaaf6b4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*  QueueItem.cs $
 	
 	   This file is part of the HandBrake source code.
 	   Homepage: <http://handbrake.fr>.
 	   It may be used under the terms of the GNU General Public License. */

using System;
using System.Diagnostics;

namespace Handbrake.EncodeQueue
{
    public class EncodeProcess
    {
        /// <summary>
        /// The CMD.exe process that runs HandBrakeCLI.exe
        /// </summary>
        public Process hbProcProcess { get; set; }

        /// <summary>
        /// Returns whether HandBrake is currently encoding or not.
        /// </summary>
        public Boolean isEncoding { get; set; }

        /// <summary>
        /// Returns the currently encoding query string
        /// </summary>
        public String currentQuery { get; set; }

        /// <summary>
        /// Get or set the process ID of HandBrakeCLI.exe
        /// </summary>
        public int processID { get; set; }

        /// <summary>
        /// Get or Set the Process Handle
        /// </summary>
        public int processHandle { get; set; }
    }
}