2 * Copyright 2008, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT license.
5 #ifndef HYPER_TEXT_ACTIONS_H
6 #define HYPER_TEXT_ACTIONS_H
10 #include "HyperTextView.h"
13 class URLAction
: public HyperTextAction
{
15 URLAction(const BString
& url
);
18 virtual void Clicked(HyperTextView
* view
, BPoint where
,
25 class OpenFileAction
: public HyperTextAction
{
27 OpenFileAction(const BString
& file
);
28 virtual ~OpenFileAction();
30 virtual void Clicked(HyperTextView
* view
, BPoint where
,
37 #endif // HYPER_TEXT_ACTIONS_H