summaryrefslogtreecommitdiff
path: root/cli/component.hpp
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2025-08-01 20:05:12 +0200
committerEugen Wissner <belka@caraus.de>2025-08-01 20:05:12 +0200
commit96817ee672d509f867b2e9f5608ee3beaf7ff91e (patch)
tree10955534faa627f002259fb2ac5eae0b15384fd4 /cli/component.hpp
parentc1367e494e195999fc3e868ca16df2037ac6899a (diff)
downloadkatja-96817ee672d509f867b2e9f5608ee3beaf7ff91e.tar.gz
Use private and public instead of legacy LINK_
Diffstat (limited to 'cli/component.hpp')
-rw-r--r--cli/component.hpp33
1 files changed, 0 insertions, 33 deletions
diff --git a/cli/component.hpp b/cli/component.hpp
deleted file mode 100644
index a396036..0000000
--- a/cli/component.hpp
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at https://mozilla.org/MPL/2.0/.
- */
-#pragma once
-
-#include <optional>
-
-#include <ftxui/component/event.hpp>
-#include <ftxui/component/component.hpp>
-#include <ftxui/dom/elements.hpp>
-
-#include "katja/repository.hpp"
-
-namespace katja
-{
- class PackageListBase : public ftxui::ComponentBase
- {
- std::string title;
- const std::vector<package_identifier> packages;
- std::optional<std::size_t> selected;
-
- public:
- PackageListBase(const std::string& title, const std::vector<package_identifier>& packages = {});
-
- ftxui::Element OnRender() override;
- bool OnEvent(ftxui::Event event) override;
- };
-
- ftxui::Component PackageList(const std::string& title, const std::vector<package_identifier>& packages = {});
-
-}