summaryrefslogtreecommitdiffstats
path: root/win/C#/Functions
diff options
context:
space:
mode:
authorsr55 <[email protected]>2010-07-25 14:59:19 +0000
committersr55 <[email protected]>2010-07-25 14:59:19 +0000
commitfe6f44ed88e1d69d7e67738d7c10589a19f60568 (patch)
tree610fdbf28fe94d29e108de0b4eb64cdf9ce614bb /win/C#/Functions
parent422ce524afd6b470150a211ee6891af670af1db5 (diff)
WinGui:
- Cleanup stylecop warnings. Import new stylecop for resharper settings. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3459 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Functions')
-rw-r--r--win/C#/Functions/AppcastReader.cs5
-rw-r--r--win/C#/Functions/Main.cs5
-rw-r--r--win/C#/Functions/PresetLoader.cs3
-rw-r--r--win/C#/Functions/Win32.cs5
4 files changed, 7 insertions, 11 deletions
diff --git a/win/C#/Functions/AppcastReader.cs b/win/C#/Functions/AppcastReader.cs
index e6bd64b08..6b4a48470 100644
--- a/win/C#/Functions/AppcastReader.cs
+++ b/win/C#/Functions/AppcastReader.cs
@@ -54,9 +54,8 @@ namespace Handbrake.Functions
Match verShort = Regex.Match(result, @"sparkle:shortVersionString=""(([svn]*)([0-9.\s]*))\""");
this.Build = ver.ToString().Replace("sparkle:version=", string.Empty).Replace("\"", string.Empty);
- this.Version = verShort.ToString().Replace("sparkle:shortVersionString=", string.Empty).Replace("\"",
- string.
- Empty);
+ this.Version = verShort.ToString().Replace("sparkle:shortVersionString=", string.Empty).Replace(
+ "\"", string.Empty);
this.DownloadFile = nodeItem["windows"].InnerText;
this.DescriptionUrl = new Uri(nodeItem["sparkle:releaseNotesLink"].InnerText);
}
diff --git a/win/C#/Functions/Main.cs b/win/C#/Functions/Main.cs
index 148f8f315..4d82fb13b 100644
--- a/win/C#/Functions/Main.cs
+++ b/win/C#/Functions/Main.cs
@@ -411,6 +411,9 @@ namespace Handbrake.Functions
/// <summary>
/// Recover a queue from file.
/// </summary>
+ /// <param name="encodeQueue">
+ /// The encode Queue.
+ /// </param>
public static void RecoverQueue(IQueue encodeQueue)
{
DialogResult result = DialogResult.None;
@@ -449,7 +452,7 @@ namespace Handbrake.Functions
}
/// <summary>
- /// Checks if this HandBrake is running multiple instances
+ /// Gets a value indicating whether HandBrake is running in multi instance mode
/// </summary>
/// <returns>True if the UI has another instance running</returns>
public static bool IsMultiInstance
diff --git a/win/C#/Functions/PresetLoader.cs b/win/C#/Functions/PresetLoader.cs
index 649804914..790d51163 100644
--- a/win/C#/Functions/PresetLoader.cs
+++ b/win/C#/Functions/PresetLoader.cs
@@ -26,9 +26,6 @@ namespace Handbrake.Functions
/// <param name="name">
/// Name of the preset
/// </param>
- /// <param name="pictureSettings">
- /// Save picture settings in the preset
- /// </param>
public static void LoadPreset(frmMain mainWindow, QueryParser presetQuery, string name)
{
#region Source
diff --git a/win/C#/Functions/Win32.cs b/win/C#/Functions/Win32.cs
index a50102688..982ba1e95 100644
--- a/win/C#/Functions/Win32.cs
+++ b/win/C#/Functions/Win32.cs
@@ -99,10 +99,7 @@ namespace Handbrake.Functions
/// The lp buffer.
/// </param>
[DllImport("kernel32.dll")]
- public static extern void GlobalMemoryStatus
- (
- ref MEMORYSTATUS lpBuffer
- );
+ public static extern void GlobalMemoryStatus(ref MEMORYSTATUS lpBuffer);
/// <summary>
/// Generate a Console Ctrl Event