Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross Platform Notifications (linux, mac, windows). #3

Merged
merged 3 commits into from
Jan 31, 2018
Merged

Cross Platform Notifications (linux, mac, windows). #3

merged 3 commits into from
Jan 31, 2018

Conversation

JackMordaunt
Copy link
Contributor

Simple implementation wrapping https://github.com/0xAX/notificator which enables mac and windows notifications, obviously linux is all ready implemented.

The interface Notify(string, string) error could be removed in favour of just one concrete implementation using the aforementioned library, but I didn't want to gut the code, merely extend it.

This results in a little bit of superfluous code, namely the type aliases, and the switch statement that instantiates the specific implementation, can both be done away with. Though I leave that decision up to you!

@kevinschoon kevinschoon merged commit 99667b9 into kevinschoon:master Jan 31, 2018
@kevinschoon
Copy link
Owner

This is perfect, the contribution is very much appreciated!

I will clean up the interface, remove the unnecessary code you mentioned, and put out a new release today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants