summaryrefslogtreecommitdiffstats
path: root/win/C#/Properties
diff options
context:
space:
mode:
authorsr55 <[email protected]>2010-07-09 19:15:08 +0000
committersr55 <[email protected]>2010-07-09 19:15:08 +0000
commit17392beaf07e263536d58ff96079bdf97d6469e6 (patch)
tree452ae9da4c785232139462e597cf3ddece62df20 /win/C#/Properties
parent52d146b4f937d3358716baeb3eb5ef703dd4c7e0 (diff)
WinGui:
- Added a new preference that allows the user to prevent the system from going to sleep during an encode. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3431 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Properties')
-rw-r--r--win/C#/Properties/Settings.Designer.cs12
-rw-r--r--win/C#/Properties/Settings.settings3
2 files changed, 15 insertions, 0 deletions
diff --git a/win/C#/Properties/Settings.Designer.cs b/win/C#/Properties/Settings.Designer.cs
index 7a66da470..a6e909fde 100644
--- a/win/C#/Properties/Settings.Designer.cs
+++ b/win/C#/Properties/Settings.Designer.cs
@@ -560,5 +560,17 @@ namespace Handbrake.Properties {
this["ActivityWindowLastMode"] = value;
}
}
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("False")]
+ public bool preventSleep {
+ get {
+ return ((bool)(this["preventSleep"]));
+ }
+ set {
+ this["preventSleep"] = value;
+ }
+ }
}
}
diff --git a/win/C#/Properties/Settings.settings b/win/C#/Properties/Settings.settings
index 5444f2010..770a6fb77 100644
--- a/win/C#/Properties/Settings.settings
+++ b/win/C#/Properties/Settings.settings
@@ -137,5 +137,8 @@
<Setting Name="ActivityWindowLastMode" Type="System.Int32" Scope="User">
<Value Profile="(Default)">0</Value>
</Setting>
+ <Setting Name="preventSleep" Type="System.Boolean" Scope="User">
+ <Value Profile="(Default)">False</Value>
+ </Setting>
</Settings>
</SettingsFile> \ No newline at end of file