X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=include%2Fiselection.h;h=9207271e1c4c52a6bc8f8557ab03cb7bb2ef3c96;hb=184fba9ab5ad3111f50c25b70b79d4103943f1f2;hp=f5c76310b1cc4e17196ebebb33157c1779f839e0;hpb=e4287c28bb2dafedc81c66e63951d947cfbeb225;p=xonotic%2Fnetradiant.git diff --git a/include/iselection.h b/include/iselection.h index f5c76310..9207271e 100644 --- a/include/iselection.h +++ b/include/iselection.h @@ -24,7 +24,7 @@ #include #include "generic/constant.h" -#include "generic/callbackfwd.h" +#include "generic/callback.h" #include "signal/signalfwd.h" class Renderer; @@ -42,7 +42,7 @@ virtual bool isSelected() const = 0; namespace scene { class Instance; -}; +} class InstanceSelectionObserver { @@ -57,12 +57,13 @@ typedef BasicVector4 Vector4; class Matrix4; typedef Vector4 Quaternion; -typedef Callback1 SelectionChangeCallback; +typedef Callback SelectionChangeCallback; typedef SignalHandler1 SelectionChangeHandler; class SelectionSystem { public: +virtual ~SelectionSystem() = default; INTEGER_CONSTANT( Version, 1 ); STRING_CONSTANT( Name, "selection" );