This repository has been archived on 2025-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
neofx-zoomedit/Tool.h

20 lines
316 B
C
Raw Normal View History

2007-11-30 15:07:00 +00:00
#ifndef TOOL_H_
#define TOOL_H_
2007-12-04 21:35:01 +00:00
#include <gtk/gtk.h>
class Tool {
2007-11-30 15:07:00 +00:00
public:
2007-12-04 21:35:01 +00:00
virtual ~Tool() {}
virtual void activate() {};
virtual void deactivate() {};
2007-12-04 21:35:01 +00:00
virtual const gchar *getName() = 0;
virtual GtkWidget *getImage() = 0;
virtual bool isSensitive() = 0;
2007-11-30 15:07:00 +00:00
};
#endif /*TOOL_H_*/