blob: 89c9d4906a513f739d2e8b101b970c0cf3fedac9 (
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
|
#ifndef NEWSBEUTER_URLVIEW_FORMACTION__H
#define NEWSBEUTER_URLVIEW_FORMACTION__H
#include <formaction.h>
#include <htmlrenderer.h>
namespace newsbeuter {
class urlview_formaction : public formaction {
public:
urlview_formaction(view *, std::string formstr);
virtual ~urlview_formaction();
virtual void prepare();
virtual void init();
virtual keymap_hint_entry * get_keymap_hint();
inline void set_links(const std::vector<linkpair>& l) { links = l; }
virtual std::string id() const { return "urlview"; }
private:
virtual void process_operation(operation op, bool automatic = false, std::vector<std::string> * args = NULL);
std::vector<linkpair> links;
bool quit;
};
}
#endif
|