#ifndef SIMGRID_S4U_ACTOR_HPP
#define SIMGRID_S4U_ACTOR_HPP
-#include "simgrid/simix.h"
+#include <xbt/base.h>
+#include <simgrid/simix.h>
namespace simgrid {
namespace s4u {
* \endverbatim
*
*/
-class Actor {
+XBT_PUBLIC_CLASS Actor {
friend Comm;
Actor(smx_process_t smx_proc);
public:
virtual ~Actor() {}
/** The main method of your agent */
- int main(int argc, char **argv) {return 0;}
+ virtual int main(int argc, char **argv);
/** The Actor that is currently running */
static Actor *current();