summaryrefslogtreecommitdiffstats
path: root/Tool.h
diff options
context:
space:
mode:
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_*/