COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
growl++.hpp
Go to the documentation of this file.
1 #include <stdio.h>
2 #ifdef _WIN32
3  #ifndef GROWL_CPP_STATIC
4  #ifdef GROWL_CPP_DLL
5  #define GROWL_CPP_EXPORT __declspec(dllexport)
6  #else
7  #define GROWL_CPP_EXPORT __declspec(dllimport)
8  #endif
9  #else
10  #define GROWL_CPP_EXPORT
11  #endif
12 #else
13  #define GROWL_CPP_EXPORT
14 #endif //_WIN32
15 
17 
19 {
20  private:
21  char *server;
22  char *password;
23  char *application;
25  void Register(const char **const _notifications, const int _notifications_count, const char* const icon = NULL );
26  public:
27  Growl(const Growl_Protocol _protocol, const char *const _password, const char* const _appliciation, const char **const _notifications, const int _notifications_count);
28  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);
29  ~Growl();
30  void Notify(const char *const notification, const char *const title, const char* const message);
31  void Notify(const char *const notification, const char *const title, const char* const message, const char *const url, const char *const icon);
32 
33 };
34 
35 
#define GROWL_CPP_EXPORT
Definition: growl++.hpp:13
Growl_Protocol
Definition: growl++.hpp:16
char * server
Definition: growl++.hpp:21
char * password
Definition: growl++.hpp:22
Growl_Protocol protocol
Definition: growl++.hpp:24
char * application
Definition: growl++.hpp:23
Send comments to:
COOLFluiD Web Admin