Giter VIP home page Giter VIP logo

dpkg-gntp-send's Introduction

gntp-send

=========

  • a command line binary for sending notifications to Growl
  • a library for integrating Growl into you C or C++ based applications

Platforms


Sending notifications from Windows/Linux/ Mac is supported. Unixes in general should be supported but are untested.

Notifications may be received by Growl on Mac or GrowlForWindows on Windows.

  • windows
  • linux /mac

C Functions


int growl(server, appname, notify, title, message, icon, password, url)

Send tcp notification. Currently this is supported only by GrowlForWindows

  • server - hostname where Growl is running, port can optionally be specified e.g localhost:23053
  • appame - name for application sending notification
  • tite - notification title
  • message - notification text
  • icon - optional url or local file path for notification icon or NULL
  • password - password for Growl
  • url - website to direct user to if they click notification or NULL
int growl_udp(server, appname, notify, title, message, icon, password, url)

Send udp notification. This is supported by both GrowlForWindows and Mac Growl.

As above except icon and url are ignored.

C++ Objects


Growl *grow = new Growl(protocol, password, appname, notifications, notifications_count);
growl->Notify(notification1, title, message);
growl->Notify(notification2, title, message);

Building for MinGW


MinGW is basically gcc for Windows. make is required to build using MinGW.

To build the gntp-send.exe executable and libraries required for integration run

    mingw32-make -f Makefile.w32

Building for Visual Studio


nmake is required to build using Visual Studio.

To build the gntp-send.exe executable and libraries required for integration run

    nmake -f Makefile.msc

Building for UNIX


Max OS X is basically a Unix varient and is covered by these instructions.

gcc/g++ and make are required for building.

To build gntp-send and the libraries required for integration run

    make -f Makefile

Precompiled Binaries


Peter Sinnott provided windows binaries, see:
https://github.com/psinnott/gntp-send

For ubuntu linux, use ppa: https://launchpad.net/~mattn/+archive/gntp-send

License


gntp-send and libraries distributed under BSD license.

Contributors


Please fork on github, and send me pull-requests.

Note to keep my code style.

Authors

Yasuhiro Matsumoto <[email protected]>

Peter Sinnott <[email protected]>

Dither <[email protected]>

dpkg-gntp-send's People

Contributors

rsrchboy avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.