COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
gntp-send++.cpp
Go to the documentation of this file.
1 #include <growl++.hpp>
2 
3 int main(void)
4 {
5  const char *n[2] = { "alice" , "willem" };
6  //Growl *growl = new Growl(GROWL_UDP,NULL,"gntp_send++",(const char **const)n,2);
7  Growl *growl = new Growl(GROWL_UDP,NULL,"COOLFluiD",(const char **const)n,2);
8 
9 // Growl(const Growl_Protocol _protocol, const char *const _password, const char* const _appliciation, const char **const _notifications, const int _notifications_count);
10 // Growl(const Growl_Protocol _protocol, const char *const _server, const char *const _password, const char *const _application, const char **const _notifications, const int _notifications_count);
11 
12  //growl->Notify("willem","title","message");
13  growl->Notify("willem","title","message");
14 
15  delete(growl);
16 
17  return 0;
18 }
int main(void)
Definition: gntp-send++.cpp:3
GROWL_EXPORT int growl(const char *const server, const char *const appname, const char *const notify, const char *const title, const char *const message, const char *const icon, const char *const password, const char *url)
Definition: growl.c:201
void Notify(const char *const notification, const char *const title, const char *const message)
Definition: growl++.cpp:58
Send comments to:
COOLFluiD Web Admin