"SfR Fresh" - the SfR Freeware/Shareware Archive 
Member "pan-0.133/pan/gui/action-manager.h" of archive pan-0.133.tar.gz:
As a special service "SfR Fresh" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting with prefixed line numbers.
Alternatively you can here view or download the uninterpreted source code file.
That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
1 #ifndef ACTION_MANAGER_H
2 #define ACTION_MANAGER_H
3
4 /**
5 * Interface for objects that encapsulate GTK action groups.
6 * @ingroup GUI
7 */
8 struct ActionManager
9 {
10 ActionManager () {}
11 virtual ~ActionManager () {}
12
13 virtual bool is_action_active (const char * action) const = 0;
14 virtual void activate_action (const char * action) const = 0;
15 virtual void toggle_action (const char * action, bool) const = 0;
16 virtual void sensitize_action (const char * action, bool) const = 0;
17 virtual GtkWidget* get_action_widget (const char * key) const = 0;
18 virtual void disable_accelerators_when_focused (GtkWidget * entry) const = 0;
19 };
20
21 #endif