mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-07 04:10:08 +00:00
Workarounds for VC6.
This commit is contained in:
parent
cc607e0a38
commit
b952084419
44 changed files with 851 additions and 686 deletions
|
|
@ -192,7 +192,7 @@ bool Value::operator!= (const Value& other) const
|
|||
}
|
||||
|
||||
//==============================================================================
|
||||
void Value::addListener (Listener* const listener)
|
||||
void Value::addListener (ValueListener* const listener)
|
||||
{
|
||||
if (listener != 0)
|
||||
{
|
||||
|
|
@ -203,7 +203,7 @@ void Value::addListener (Listener* const listener)
|
|||
}
|
||||
}
|
||||
|
||||
void Value::removeListener (Listener* const listener)
|
||||
void Value::removeListener (ValueListener* const listener)
|
||||
{
|
||||
listeners.remove (listener);
|
||||
|
||||
|
|
@ -214,7 +214,7 @@ void Value::removeListener (Listener* const listener)
|
|||
void Value::callListeners()
|
||||
{
|
||||
Value v (*this); // (create a copy in case this gets deleted by a callback)
|
||||
listeners.call (&Value::Listener::valueChanged, v);
|
||||
listeners.call (&ValueListener::valueChanged, v);
|
||||
}
|
||||
|
||||
OutputStream& JUCE_CALLTYPE operator<< (OutputStream& stream, const Value& value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue