kazbek/cli/component.hpp

28 lines
552 B
C++

#pragma once
#include <ftxui/component/component_base.hpp>
#include "katja/repository.hpp"
namespace katja
{
class WelcomePage final : public ftxui::ComponentBase
{
ftxui::Element Render() override;
};
class UpdatesPage final : public ftxui::ComponentBase
{
std::vector<package_identifier> updatable;
public:
explicit UpdatesPage(std::vector<package_identifier>&& updatable);
ftxui::Element Render() override;
};
class SearchPage final : public ftxui::ComponentBase
{
};
}