#define SIMGRID_S4U_ASYNC_HPP
#include <stdlib.h>
+#include <xbt/base.h>
#include <xbt/misc.h>
+#include <simgrid/s4u/forward.hpp>
+
SG_BEGIN_DECL();
typedef enum {
inited, started, finished
namespace simgrid {
namespace s4u {
-/* Forward declaration */
-class Comm;
-
-
/** @brief Asynchronous Actions
*
* This class is the ancestor of every asynchronous actions, that is, of actions that do take time in the simulated world.
*/
-class Async {
+XBT_PUBLIC_CLASS Async {
friend Comm;
protected:
Async();