summaryrefslogtreecommitdiffstats
path: root/win/C#/Presets/preset.cs
blob: 9f7eed8bdfb2d171636d86c6ba6e885d43d405c5 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Text.RegularExpressions;
using System.Diagnostics;

namespace Handbrake.Presets
{
    public class Preset
    {

        private int level = 0;
        private string category = null;
        private string name;
        private string query;

        public Preset()
        {
        }

        /// <summary>
        /// Get or Set the preset's level. This indicated if it is a root or child node
        /// </summary>
        public int Level
        {
            get { return level; }
            set { this.level = value; }
        }

        /// <summary>
        /// Get or Set the category which the preset resides under
        /// </summary>
        public string Category
        {
            get { return category; }
            set { this.category = value; }
        }

        /// <summary>
        /// Get or Set the preset name
        /// </summary>
        public string Name
        {
            get { return name; }
            set { this.name = value; }
        }

        /// <summary>
        /// Get or set the preset query
        /// </summary>
        public string Query
        {
            get { return query; }
            set { this.query = value; }
        }

    }
}