diff options
Diffstat (limited to 'Tool.h')
-rw-r--r-- | Tool.h | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -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_*/ |