summaryrefslogtreecommitdiff
path: root/src/emptyformaction.cpp
blob: ce0c10bc2229a20fba34cd78da43ed431646424e (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
#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()
{
}

const std::vector<KeyMapHintEntry>& EmptyFormAction::get_keymap_hint() const
{
	static const std::vector<KeyMapHintEntry> hints;
	return hints;
}

bool EmptyFormAction::process_operation(Operation /*op*/,
	bool /*automatic*/,
	std::vector<std::string>* /*args*/)
{
	return false;
}

} // namespace newsboat