#ifndef NEWSBOAT_LISTFORMACTION_H_ #define NEWSBOAT_LISTFORMACTION_H_ #include #include "3rd-party/optional.hpp" #include "formaction.h" #include "listwidget.h" #include "regexmanager.h" namespace newsboat { class ListFormAction : public FormAction { public: ListFormAction(View& v, const std::string& context, std::string formstr, std::string list_name, ConfigContainer* cfg, RegexManager& r); ~ListFormAction() override = default; protected: bool process_operation(Operation op, const std::vector& args, BindingType bindingType = BindingType::BindKey) override; nonstd::optional open_unread_items_in_browser( std::shared_ptr feed, bool markread); ListWidget list; }; } // namespace newsboat #endif /* NEWSBOAT_LISTFORMACTION_H_ */