btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / apps / aboutsystem / HyperTextActions.h
blob4f32b388f089120cfa9ec52e450f2ec661270a70
1 /*
2 * Copyright 2008, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT license.
4 */
5 #ifndef HYPER_TEXT_ACTIONS_H
6 #define HYPER_TEXT_ACTIONS_H
8 #include <String.h>
10 #include "HyperTextView.h"
13 class URLAction : public HyperTextAction {
14 public:
15 URLAction(const BString& url);
16 virtual ~URLAction();
18 virtual void Clicked(HyperTextView* view, BPoint where,
19 BMessage* message);
20 private:
21 BString fURL;
25 class OpenFileAction : public HyperTextAction {
26 public:
27 OpenFileAction(const BString& file);
28 virtual ~OpenFileAction();
30 virtual void Clicked(HyperTextView* view, BPoint where,
31 BMessage* message);
32 private:
33 BString fFile;
37 #endif // HYPER_TEXT_ACTIONS_H