summaryrefslogtreecommitdiffstats
path: root/win/C#/Presets/preset.cs
blob: ee983427a24b096fdee9d2a65e4948262f609ac3 (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
61
62
63
64
65
66
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;
        private Boolean pictureSettings;

        /// <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; }
        }

        /// <summary>
        /// Get or set the usage of Picture Settings in presets.
        /// </summary>
        public Boolean PictureSettings
        {
            get { return pictureSettings; }
            set { this.pictureSettings = value; }
        }

    }
}