[go: up one dir, main page]

Menu

[0a098c]: / gui / PluginHook.h  Maximize  Restore  History

Download this file

32 lines (25 with data), 911 Bytes

 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
#ifndef __PLUGINHOOK_H_
#define __PLUGINHOOK_H_
#include <string>
#include <GladeApp.h>
class PluginHook : public GladeApp
{
private:
std::string _lib;
std::string _hook;
std::string _lang;
static void on_help(GtkWidget *w, PluginHook *);
static void on_browse_lib(GtkWidget *w, PluginHook *);
static void on_find_symbols(GtkWidget *w, PluginHook *);
static void on_hook_selected(GtkWidget *w, PluginHook *);
public:
PluginHook(const std::string &L="", const std::string &H="");
virtual ~PluginHook();
void user_init();
void auto_connect();
void process_text(const std::string &s, GtkWidget *w);
std::string lib() const { return _lib; }
std::string hook() const { return _hook; }
std::string lang() const { return _lang; }
};
#endif /*__PLUGINHOOK_H_*/