COOLFluiD
Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
cf3
Tools
Growl
growl
headers
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
16
enum
Growl_Protocol
{
GROWL_UDP
,
GROWL_TCP
};
17
18
class
GROWL_CPP_EXPORT
Growl
19
{
20
private
:
21
char
*
server
;
22
char
*
password
;
23
char
*
application
;
24
Growl_Protocol
protocol
;
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
GROWL_CPP_EXPORT
#define GROWL_CPP_EXPORT
Definition:
growl++.hpp:13
Growl_Protocol
Growl_Protocol
Definition:
growl++.hpp:16
GROWL_TCP
Definition:
growl++.hpp:16
GROWL_UDP
Definition:
growl++.hpp:16
Growl
Definition:
growl++.hpp:18
Growl::server
char * server
Definition:
growl++.hpp:21
Growl::password
char * password
Definition:
growl++.hpp:22
Growl::protocol
Growl_Protocol protocol
Definition:
growl++.hpp:24
Growl::application
char * application
Definition:
growl++.hpp:23
Generated on Sun Jun 14 2015 21:20:14 for COOLFluiD by
1.8.9.1
Send comments to:
COOLFluiD Web Admin