50 bool Cancelled_ =
false;
51 QVariant ReturnValue_;
72 void CancelDefault ();
83 bool IsCancelled ()
const;
87 const QVariant& GetReturnValue ()
const;
91 void SetReturnValue (
const QVariant&);
107 if (!Name2NewVal_.contains (name))
110 const QVariant& newVal = Name2NewVal_ [name];
111 if (!newVal.isValid ())
114 val = newVal.value<T> ();
119 QVariant GetValue (
const QByteArray&)
const;
123 void SetValue (
const QByteArray&,
const QVariant&);
void FillValue(const QByteArray &name, T &val)
Fills the value of the given parameter set by SetValue().
Standard implementation of IHookProxy.
std::shared_ptr< DefaultHookProxy > DefaultHookProxy_ptr
Class for hook-based communication between plugins.