snorenotify/3party/gntp-send/source/gntp-send++.cpp

13 lines
252 B
C++
Raw Normal View History

2010-10-28 23:16:09 +00:00
#include <growl++.hpp>
int main(int argc, char **argv)
{
const char *n[2] = { "alice" , "bob" };
Growl *growl = new Growl(GROWL_TCP,NULL,"gntp_send++",(const char **const)n,2);
growl->Notify("bob","title","message");
delete(growl);
return 0;
}