X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d6d03a0a88c2673c9e5c604d63912b77bc17fdd4..18000f1f5a3802b35cb9ac79cc88fec7f885d13c:/include/simgrid/jedule/jedule.hpp?ds=sidebyside diff --git a/include/simgrid/jedule/jedule.hpp b/include/simgrid/jedule/jedule.hpp index 43387f2ebb..dcc32d4b3c 100644 --- a/include/simgrid/jedule/jedule.hpp +++ b/include/simgrid/jedule/jedule.hpp @@ -1,27 +1,23 @@ -/* Copyright (c) 2010-2012, 2014-2016. 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 -#include "simgrid_config.h" -#include "jedule_events.hpp" -#include "jedule_platform.hpp" +#include +#include +#include -#if SIMGRID_HAVE_JEDULE +#include -XBT_ATTRIB_UNUSED static std::unordered_map host2_simgrid_parent_container; -XBT_ATTRIB_UNUSED static std::unordered_map container_name2container; +#if SIMGRID_HAVE_JEDULE namespace simgrid { namespace jedule{ - -XBT_PUBLIC_CLASS Jedule { +class XBT_PUBLIC Jedule { public: Jedule()=default; ~Jedule(); @@ -36,11 +32,9 @@ public: } } -SG_BEGIN_DECL() - +extern "C" { typedef simgrid::jedule::Jedule *jedule_t; - -SG_END_DECL() +} #endif #endif /* JEDULE_HPP_ */