blob: 36a4660faa0f05fd32ef49a287563a3556251fb8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#ifndef NEWSBOAT_LISTFORMACTION_H_
#define NEWSBOAT_LISTFORMACTION_H_
#include <cstdint>
#include "3rd-party/optional.hpp"
#include "formaction.h"
#include "listwidget.h"
namespace newsboat {
class ListFormAction : public FormAction {
public:
ListFormAction(View*, std::string formstr, std::string list_name,
ConfigContainer* cfg);
protected:
bool process_operation(Operation op,
bool automatic = false,
std::vector<std::string>* args = nullptr) override;
nonstd::optional<std::uint8_t> open_unread_items_in_browser(
std::shared_ptr<RssFeed> feed,
bool markread);
ListWidget list;
};
} // namespace newsboat
#endif /* NEWSBOAT_LISTFORMACTION_H_ */
|