mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Added Growl (Not yet visible on the GUI).
This commit is contained in:
parent
dd7dcf4db8
commit
3fe1e80ccb
16 changed files with 327 additions and 2 deletions
BIN
packages/Growl.0.6/Growl.0.6.nupkg
vendored
Normal file
BIN
packages/Growl.0.6/Growl.0.6.nupkg
vendored
Normal file
Binary file not shown.
23
packages/Growl.0.6/content/GrowlHelper.cs.pp
vendored
Normal file
23
packages/Growl.0.6/content/GrowlHelper.cs.pp
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using Growl.Connector;
|
||||
using Growl.CoreLibrary;
|
||||
|
||||
namespace $rootnamespace$
|
||||
{
|
||||
class GrowlHelper
|
||||
{
|
||||
public static void simpleGrowl(string title, string message = "")
|
||||
{
|
||||
GrowlConnector simpleGrowl = new GrowlConnector();
|
||||
Growl.Connector.Application thisApp = new Growl.Connector.Application(System.Windows.Forms.Application.ProductName);
|
||||
NotificationType simpleGrowlType = new NotificationType("SIMPLEGROWL");
|
||||
simpleGrowl.Register(thisApp, new NotificationType[] { simpleGrowlType });
|
||||
Notification myGrowl = new Notification(System.Windows.Forms.Application.ProductName, "SIMPLEGROWL", title, title, message);
|
||||
simpleGrowl.Notify(myGrowl);
|
||||
}
|
||||
}
|
||||
}
|
25
packages/Growl.0.6/content/license.txt
vendored
Normal file
25
packages/Growl.0.6/content/license.txt
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
Growl.NET GNTP Connector Library
|
||||
-----------------------------------------------
|
||||
Copyright (c) 2008 - Growl for Windows
|
||||
All rights reserved
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification,
|
||||
are permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
|
||||
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
|
||||
SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
||||
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
||||
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
||||
DAMAGE.
|
||||
|
BIN
packages/Growl.0.6/lib/Growl.Connector.dll
vendored
Normal file
BIN
packages/Growl.0.6/lib/Growl.Connector.dll
vendored
Normal file
Binary file not shown.
BIN
packages/Growl.0.6/lib/Growl.CoreLibrary.dll
vendored
Normal file
BIN
packages/Growl.0.6/lib/Growl.CoreLibrary.dll
vendored
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue