diff --git a/headers/enduro2d/utils/_all.hpp b/headers/enduro2d/utils/_all.hpp index d59fa257..7df6d4d6 100644 --- a/headers/enduro2d/utils/_all.hpp +++ b/headers/enduro2d/utils/_all.hpp @@ -18,6 +18,7 @@ #include "mesh.hpp" #include "module.hpp" #include "path.hpp" +#include "scheduler.hpp" #include "streams.hpp" #include "strfmts.hpp" #include "strings.hpp" diff --git a/headers/enduro2d/utils/_utils.hpp b/headers/enduro2d/utils/_utils.hpp index 0e1501c5..7506c251 100644 --- a/headers/enduro2d/utils/_utils.hpp +++ b/headers/enduro2d/utils/_utils.hpp @@ -17,6 +17,7 @@ namespace e2d class image; class jobber; class mesh; + class scheduler; class input_stream; class output_stream; class input_sequence; diff --git a/headers/enduro2d/utils/scheduler.hpp b/headers/enduro2d/utils/scheduler.hpp new file mode 100644 index 00000000..885c237d --- /dev/null +++ b/headers/enduro2d/utils/scheduler.hpp @@ -0,0 +1,18 @@ +/******************************************************************************* + * This file is part of the "Enduro2D" + * For conditions of distribution and use, see copyright notice in LICENSE.md + * Copyright (C) 2018 Matvey Cherevko + ******************************************************************************/ + +#pragma once + +#include "_utils.hpp" + +namespace e2d +{ + class scheduler final : private noncopyable { + public: + scheduler(); + ~scheduler() noexcept; + }; +} diff --git a/sources/enduro2d/utils/scheduler.cpp b/sources/enduro2d/utils/scheduler.cpp new file mode 100644 index 00000000..300c307e --- /dev/null +++ b/sources/enduro2d/utils/scheduler.cpp @@ -0,0 +1,18 @@ +/******************************************************************************* + * This file is part of the "Enduro2D" + * For conditions of distribution and use, see copyright notice in LICENSE.md + * Copyright (C) 2018 Matvey Cherevko + ******************************************************************************/ + +#include + +namespace +{ + using namespace e2d; +} + +namespace e2d +{ + scheduler::scheduler() = default; + scheduler::~scheduler() noexcept = default; +} diff --git a/untests/sources/untests_utils/scheduler.cpp b/untests/sources/untests_utils/scheduler.cpp new file mode 100644 index 00000000..e69cf994 --- /dev/null +++ b/untests/sources/untests_utils/scheduler.cpp @@ -0,0 +1,11 @@ +/******************************************************************************* + * This file is part of the "Enduro2D" + * For conditions of distribution and use, see copyright notice in LICENSE.md + * Copyright (C) 2018 Matvey Cherevko + ******************************************************************************/ + +#include "_utils.hpp" +using namespace e2d; + +TEST_CASE("scheduler") { +}