This repository has been archived on 2025-03-02. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
neofx-zoomedit/Tool.h
2007-12-14 22:03:00 +00:00

23 lines
389 B
C++

#ifndef TOOL_H_
#define TOOL_H_
#include "Object.h"
#include <gtk/gtk.h>
class Tool : public Object {
public:
virtual ~Tool() {}
virtual void activate() {};
virtual void deactivate() {};
virtual const char *getName() const {
return getType();
}
virtual GtkWidget *getImage() = 0;
virtual bool isSensitive() = 0;
};
#endif /*TOOL_H_*/