summaryrefslogtreecommitdiff
path: root/plugingui/widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/widget.h')
-rw-r--r--plugingui/widget.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/plugingui/widget.h b/plugingui/widget.h
index 47c374e..13725f0 100644
--- a/plugingui/widget.h
+++ b/plugingui/widget.h
@@ -24,11 +24,11 @@
* along with DrumGizmo; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
-#ifndef __DRUMGIZMO_WIDGET_H__
-#define __DRUMGIZMO_WIDGET_H__
+#pragma once
#include "guievent.h"
#include "pixelbuffer.h"
+#include "notifier.h"
#include <vector>
@@ -36,7 +36,7 @@ namespace GUI {
class Window;
-class Widget {
+class Widget : public Listener {
public:
Widget(Widget *parent);
virtual ~Widget();
@@ -94,6 +94,4 @@ private:
bool _visible;
};
-};
-
-#endif/*__DRUMGIZMO_WIDGET_H__*/
+} // GUI::