namespace Handbrake.Functions\r
{\r
using System;\r
- using System.Collections.Generic;\r
- using System.Text;\r
using Growl.Connector;\r
- using Growl.CoreLibrary;\r
\r
/// <summary>\r
/// Provides all functionality for communicating with Growl for Windows.\r
public static void Register()\r
{\r
Initialize();\r
- growl.Register(application, new NotificationType[] { encodeOrQueueCompleted });\r
+ growl.Register(application, new[] {encodeOrQueueCompleted});\r
}\r
\r
/// <summary>\r
/// </param>\r
public static void Notify(string title, string text)\r
{\r
- Notification notification = new Notification(application.Name, encodeOrQueueCompleted.Name, String.Empty, title, text);\r
+ Notification notification = new Notification(application.Name, encodeOrQueueCompleted.Name, String.Empty, \r
+ title, text);\r
growl.Notify(notification);\r
}\r
\r
/// <param name="imageUrl">The notification image as a url</param>\r
public static void Notify(NotificationType notificationType, string title, string text, string imageUrl)\r
{\r
- Notification notification = new Notification(application.Name, notificationType.Name, String.Empty, title, text)\r
+ Notification notification = new Notification(application.Name, notificationType.Name, String.Empty, title, \r
+ text)\r
{\r
- Icon = imageUrl\r
+ Icon = imageUrl\r
};\r
\r
growl.Notify(notification);\r
}\r
}\r
}\r
-}\r
+}
\ No newline at end of file