summaryrefslogtreecommitdiffstats
path: root/Tool.h
blob: 12a06e68709bec2bc5c94884c88fd38ed0e6cf51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef TOOL_H_
#define TOOL_H_

#include <gtk/gtk.h>


class Tool {
  public:
    virtual ~Tool() {}
    
    virtual void action() = 0;
    
    virtual const gchar *getName() = 0;
    virtual GtkWidget *getImage() = 0;
    virtual bool isSensitive() = 0;
};

#endif /*TOOL_H_*/