blob: 9d1a785287cb09832dcf94933e5ddd8c16db6e01 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
|
#include "emptyformaction.h"
namespace newsboat {
EmptyFormAction::EmptyFormAction(View* v, const std::string& formstr,
ConfigContainer* cfg)
: FormAction(v, formstr, cfg)
{
}
std::string EmptyFormAction::id() const
{
return "empty";
}
std::string EmptyFormAction::title()
{
return "Empty FormAction";
}
void EmptyFormAction::init()
{
}
void EmptyFormAction::prepare()
{
}
KeyMapHintEntry* EmptyFormAction::get_keymap_hint()
{
static KeyMapHintEntry hints[] = {
{OP_NIL, nullptr}
};
return hints;
}
bool EmptyFormAction::process_operation(Operation /*op*/,
bool /*automatic*/,
std::vector<std::string>* /*args*/)
{
return false;
}
} // namespace newsboat
|