mirror of https://github.com/odrling/Aegisub
Make agi::Signal uncopyable
Originally committed to SVN as r5076.
This commit is contained in:
parent
a566955047
commit
5920c3124b
|
@ -110,7 +110,12 @@ namespace detail {
|
||||||
/// @brief Disconnect the passed slot from the signal
|
/// @brief Disconnect the passed slot from the signal
|
||||||
/// @param tok Token to disconnect
|
/// @param tok Token to disconnect
|
||||||
virtual void Disconnect(ConnectionToken *tok)=0;
|
virtual void Disconnect(ConnectionToken *tok)=0;
|
||||||
|
|
||||||
|
/// Signals can't be copied
|
||||||
|
SignalBase(SignalBase const&);
|
||||||
|
SignalBase& operator=(SignalBase const&);
|
||||||
protected:
|
protected:
|
||||||
|
SignalBase() { }
|
||||||
/// @brief Notify a slot that it has been disconnected
|
/// @brief Notify a slot that it has been disconnected
|
||||||
/// @param tok Token to disconnect
|
/// @param tok Token to disconnect
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in New Issue