Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simplification: if jedule headers are loaded, jedule is here and needed
[simgrid.git] / include / simgrid / jedule / jedule.hpp
index eb25b52fbef430db3da799bd9239793d026778fd..8c9ef3945c3452988ff48c7897fa87b539299266 100644 (file)
@@ -1,24 +1,20 @@
-/* Copyright (c) 2010-2012, 2014-2017. The SimGrid Team.
- * All rights reserved.                                                     */
+/* Copyright (c) 2010-2018. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #ifndef JEDULE_HPP_
 #define JEDULE_HPP_
-#include "simgrid_config.h"
-#include <cstdio>
 
-#include "jedule_events.hpp"
-#include "jedule_platform.hpp"
+#include <simgrid/jedule/jedule_events.hpp>
+#include <simgrid/jedule/jedule_platform.hpp>
 
-#if SIMGRID_HAVE_JEDULE
+#include <cstdio>
 
 namespace simgrid {
 namespace jedule{
 
-
-XBT_PUBLIC_CLASS Jedule {
+class XBT_PUBLIC Jedule {
 public:
   Jedule()=default;
   ~Jedule();
@@ -33,9 +29,6 @@ public:
 }
 }
 
-extern "C" {
 typedef simgrid::jedule::Jedule *jedule_t;
-}
-#endif
 
 #endif /* JEDULE_HPP_ */