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

#include <gtk/gtk.h>


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

#endif /*TOOL_H_*/