forked from briandunnington/growl-for-windows
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding FolderWatch subscriber plugin code and updating a few connecto…
…r files
- Loading branch information
1 parent
74f27c9
commit c6451c1
Showing
23 changed files
with
1,090 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
Growl Extras/Growl Display SDK/libraries/Growl.CoreLibrary.dll
Binary file not shown.
Binary file modified
BIN
+4 KB
(110%)
Growl Extras/Growl Display SDK/libraries/Growl.DisplayStyle.dll
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
Growl Extras/Growl.Subscribers.FolderWatch/FolderWatchHandler.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
using Growl.Destinations; | ||
|
||
namespace Growl.Subscribers.FolderWatch | ||
{ | ||
public class FolderWatchHandler : ISubscriptionHandler | ||
{ | ||
public static System.Drawing.Image Icon = Properties.Resources.folderwatch; | ||
|
||
#region IDestinationHandler Members | ||
|
||
public string Name | ||
{ | ||
get | ||
{ | ||
return "Folder Watch"; | ||
} | ||
} | ||
|
||
public List<Type> Register() | ||
{ | ||
List<Type> list = new List<Type>(); | ||
list.Add(typeof(FolderWatchSubscription)); | ||
return list; | ||
} | ||
|
||
public List<DestinationListItem> GetListItems() | ||
{ | ||
List<DestinationListItem> list = new List<DestinationListItem>(); | ||
SubscriptionListItem item = new SubscriptionListItem("Get notified of changes to local folders", Icon, this); // TODO: LOCAL: LOCALIZE: | ||
list.Add(item); | ||
return list; | ||
} | ||
|
||
public DestinationSettingsPanel GetSettingsPanel(DestinationListItem dbli) | ||
{ | ||
return new FolderWatchSettings(); | ||
} | ||
|
||
public DestinationSettingsPanel GetSettingsPanel(DestinationBase db) | ||
{ | ||
return new FolderWatchSettings(); | ||
} | ||
|
||
#endregion | ||
} | ||
} |
Oops, something went wrong.