From 96817ee672d509f867b2e9f5608ee3beaf7ff91e Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Fri, 1 Aug 2025 20:05:12 +0200 Subject: Use private and public instead of legacy LINK_ --- cli/component.hpp | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 cli/component.hpp (limited to 'cli/component.hpp') 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 - -#include -#include -#include - -#include "katja/repository.hpp" - -namespace katja -{ - class PackageListBase : public ftxui::ComponentBase - { - std::string title; - const std::vector packages; - std::optional selected; - - public: - PackageListBase(const std::string& title, const std::vector& packages = {}); - - ftxui::Element OnRender() override; - bool OnEvent(ftxui::Event event) override; - }; - - ftxui::Component PackageList(const std::string& title, const std::vector& packages = {}); - -} -- cgit v1.2.3