summaryrefslogtreecommitdiffstats
path: root/Tool.h
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2007-12-04 22:35:01 +0100
committerneoraider <devnull@localhost>2007-12-04 22:35:01 +0100
commitd389dce3ef4f1342a2f91926a9dcd02b452c6045 (patch)
treec3a7a88afd02cb3cdc88a987e227badcc6095b0c /Tool.h
parentecf40f86dfa6aa623bf31494125f3702f9fa0298 (diff)
downloadzoomedit-d389dce3ef4f1342a2f91926a9dcd02b452c6045.tar
zoomedit-d389dce3ef4f1342a2f91926a9dcd02b452c6045.zip
zoomedit: Got SidebarToolbox working.
Diffstat (limited to 'Tool.h')
-rw-r--r--Tool.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/Tool.h b/Tool.h
index b95590a..12a06e6 100644
--- a/Tool.h
+++ b/Tool.h
@@ -1,11 +1,18 @@
#ifndef TOOL_H_
#define TOOL_H_
-class Tool
-{
+#include <gtk/gtk.h>
+
+
+class Tool {
public:
- Tool();
- virtual ~Tool();
+ virtual ~Tool() {}
+
+ virtual void action() = 0;
+
+ virtual const gchar *getName() = 0;
+ virtual GtkWidget *getImage() = 0;
+ virtual bool isSensitive() = 0;
};
#endif /*TOOL_H_*/