aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/status_updater.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-05-02 22:36:21 +0200
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:58 +0200
commitfb080f6fb911b1831c176a06259e384772541dd5 (patch)
treee18140e700cd974f84a5630f41fcb0b496b7e772 /src/interfaces/status_updater.hpp
parent40d02748924aa7c48b04cf948204d8dacdfbbc74 (diff)
refactor: seperate statusline related concerns
Diffstat (limited to 'src/interfaces/status_updater.hpp')
-rw-r--r--src/interfaces/status_updater.hpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/interfaces/status_updater.hpp b/src/interfaces/status_updater.hpp
deleted file mode 100644
index 4b2ceb1..0000000
--- a/src/interfaces/status_updater.hpp
+++ /dev/null
@@ -1,23 +0,0 @@
-#pragma once
-
-#include "interfaces/generation_tracker.hpp"
-#include "interfaces/statusline.hpp"
-#include "interfaces/subscriber.hpp"
-
-#include "engine/data/vector2.hpp"
-
-#include <yacppdic/factory.hpp>
-
-#include <memory>
-
-// NOLINTNEXTLINE(cppcoreguidelines-special-member-functions)
-class IStatusUpdater : public ISubscriber<Vector2>
-{
-public:
- void update(const Vector2 &context) noexcept override = 0;
-};
-
-using IStatusUpdaterFactory = yacppdic::Factory<std::unique_ptr<IStatusUpdater>(
- const std::shared_ptr<IStatusLine> &statusline,
- const std::shared_ptr<IGenerationTracker> &generation_tracker
-)>;