X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=radiant%2Fselection.h;h=99846fed6a61bda0686667f3cfc2f5f8bbd75445;hb=2621000e558bcc3d533cfc5b168cbb0c73628bfa;hp=16b9aa2f82cf46a470c5d4594919f512cf1b1cdd;hpb=e4287c28bb2dafedc81c66e63951d947cfbeb225;p=xonotic%2Fnetradiant.git diff --git a/radiant/selection.h b/radiant/selection.h index 16b9aa2f..99846fed 100644 --- a/radiant/selection.h +++ b/radiant/selection.h @@ -23,7 +23,7 @@ #define INCLUDED_SELECTION_H #include "windowobserver.h" -#include "generic/callbackfwd.h" +#include "generic/callback.h" struct rect_t { @@ -31,13 +31,14 @@ struct rect_t float max[2]; }; -typedef Callback1 RectangleCallback; +typedef Callback RectangleCallback; class View; class SelectionSystemWindowObserver : public WindowObserver { public: +virtual ~SelectionSystemWindowObserver() = default; virtual void setView( const View& view ) = 0; virtual void setRectangleDrawCallback( const RectangleCallback& callback ) = 0; };