1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-19 01:04:20 +00:00

Minor code clean-ups.

This commit is contained in:
Julian Storer 2010-02-22 15:28:18 +00:00
parent 9f201da3c5
commit 08eb852103
289 changed files with 779 additions and 780 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -292,7 +292,7 @@ private:
ScopedPointer<InterProcessLock> appLock;
JUCEApplication (const JUCEApplication&);
const JUCEApplication& operator= (const JUCEApplication&);
JUCEApplication& operator= (const JUCEApplication&);
public:
/** @internal */

View file

@ -251,7 +251,7 @@ private:
ApplicationCommandTarget* const owner;
CommandTargetMessageInvoker (const CommandTargetMessageInvoker&);
const CommandTargetMessageInvoker& operator= (const CommandTargetMessageInvoker&);
CommandTargetMessageInvoker& operator= (const CommandTargetMessageInvoker&);
};
ScopedPointer <CommandTargetMessageInvoker> messageInvoker;
@ -260,7 +260,7 @@ private:
bool tryToInvoke (const InvocationInfo& info, const bool async);
ApplicationCommandTarget (const ApplicationCommandTarget&);
const ApplicationCommandTarget& operator= (const ApplicationCommandTarget&);
ApplicationCommandTarget& operator= (const ApplicationCommandTarget&);
};

View file

@ -156,7 +156,7 @@ private:
int commonSettingsAreReadOnly;
ApplicationProperties (const ApplicationProperties&);
const ApplicationProperties& operator= (const ApplicationProperties&);
ApplicationProperties& operator= (const ApplicationProperties&);
void openFiles() throw();
};

View file

@ -501,7 +501,7 @@ public:
private:
AiffAudioFormatReader (const AiffAudioFormatReader&);
const AiffAudioFormatReader& operator= (const AiffAudioFormatReader&);
AiffAudioFormatReader& operator= (const AiffAudioFormatReader&);
static inline int chunkName (const char* const name) { return (int) ByteOrder::littleEndianInt (name); }
};
@ -517,7 +517,7 @@ class AiffAudioFormatWriter : public AudioFormatWriter
static inline int chunkName (const char* const name) { return (int) ByteOrder::littleEndianInt (name); }
AiffAudioFormatWriter (const AiffAudioFormatWriter&);
const AiffAudioFormatWriter& operator= (const AiffAudioFormatWriter&);
AiffAudioFormatWriter& operator= (const AiffAudioFormatWriter&);
void writeHeader()
{

View file

@ -178,7 +178,7 @@ private:
#endif
AudioCDReader (const AudioCDReader&);
const AudioCDReader& operator= (const AudioCDReader&);
AudioCDReader& operator= (const AudioCDReader&);
};
#endif

View file

@ -222,7 +222,7 @@ private:
String formatName;
AudioFormatReader (const AudioFormatReader&);
const AudioFormatReader& operator= (const AudioFormatReader&);
AudioFormatReader& operator= (const AudioFormatReader&);
};

View file

@ -87,7 +87,7 @@ private:
const bool deleteSourceWhenDeleted;
AudioSubsectionReader (const AudioSubsectionReader&);
const AudioSubsectionReader& operator= (const AudioSubsectionReader&);
AudioSubsectionReader& operator= (const AudioSubsectionReader&);
};
#endif // __JUCE_AUDIOSUBSECTIONREADER_JUCEHEADER__

View file

@ -264,7 +264,7 @@ class WavAudioFormatReader : public AudioFormatReader
static inline int chunkName (const char* const name) { return (int) ByteOrder::littleEndianInt (name); }
WavAudioFormatReader (const WavAudioFormatReader&);
const WavAudioFormatReader& operator= (const WavAudioFormatReader&);
WavAudioFormatReader& operator= (const WavAudioFormatReader&);
public:
int64 bwavChunkStart, bwavSize;
@ -619,7 +619,7 @@ class WavAudioFormatWriter : public AudioFormatWriter
static inline int chunkName (const char* const name) { return (int) ByteOrder::littleEndianInt (name); }
WavAudioFormatWriter (const WavAudioFormatWriter&);
const WavAudioFormatWriter& operator= (const WavAudioFormatWriter&);
WavAudioFormatWriter& operator= (const WavAudioFormatWriter&);
void writeHeader()
{

View file

@ -105,7 +105,7 @@ private:
void readBufferSection (int start, int length, AudioSampleBuffer& buffer, int startSample);
AudioFormatReaderSource (const AudioFormatReaderSource&);
const AudioFormatReaderSource& operator= (const AudioFormatReaderSource&);
AudioFormatReaderSource& operator= (const AudioFormatReaderSource&);
};

View file

@ -107,7 +107,7 @@ private:
float lastGain, gain;
AudioSourcePlayer (const AudioSourcePlayer&);
const AudioSourcePlayer& operator= (const AudioSourcePlayer&);
AudioSourcePlayer& operator= (const AudioSourcePlayer&);
};

View file

@ -174,7 +174,7 @@ private:
bool isPrepared, inputStreamEOF;
AudioTransportSource (const AudioTransportSource&);
const AudioTransportSource& operator= (const AudioTransportSource&);
AudioTransportSource& operator= (const AudioTransportSource&);
};

View file

@ -115,7 +115,7 @@ private:
}
SharedBufferingAudioSourceThread (const SharedBufferingAudioSourceThread&);
const SharedBufferingAudioSourceThread& operator= (const SharedBufferingAudioSourceThread&);
SharedBufferingAudioSourceThread& operator= (const SharedBufferingAudioSourceThread&);
};
juce_ImplementSingleton (SharedBufferingAudioSourceThread)

View file

@ -105,7 +105,7 @@ private:
void readBufferSection (int start, int length, int bufferOffset);
BufferingAudioSource (const BufferingAudioSource&);
const BufferingAudioSource& operator= (const BufferingAudioSource&);
BufferingAudioSource& operator= (const BufferingAudioSource&);
};

View file

@ -149,7 +149,7 @@ private:
CriticalSection lock;
ChannelRemappingAudioSource (const ChannelRemappingAudioSource&);
const ChannelRemappingAudioSource& operator= (const ChannelRemappingAudioSource&);
ChannelRemappingAudioSource& operator= (const ChannelRemappingAudioSource&);
};

View file

@ -72,7 +72,7 @@ private:
OwnedArray <IIRFilter> iirFilters;
IIRFilterAudioSource (const IIRFilterAudioSource&);
const IIRFilterAudioSource& operator= (const IIRFilterAudioSource&);
IIRFilterAudioSource& operator= (const IIRFilterAudioSource&);
};

View file

@ -119,7 +119,7 @@ private:
int bufferSizeExpected;
MixerAudioSource (const MixerAudioSource&);
const MixerAudioSource& operator= (const MixerAudioSource&);
MixerAudioSource& operator= (const MixerAudioSource&);
};

View file

@ -99,7 +99,7 @@ private:
void applyFilter (float* samples, int num, FilterState& fs);
ResamplingAudioSource (const ResamplingAudioSource&);
const ResamplingAudioSource& operator= (const ResamplingAudioSource&);
ResamplingAudioSource& operator= (const ResamplingAudioSource&);
};

View file

@ -73,7 +73,7 @@ private:
float amplitude;
ToneGeneratorAudioSource (const ToneGeneratorAudioSource&);
const ToneGeneratorAudioSource& operator= (const ToneGeneratorAudioSource&);
ToneGeneratorAudioSource& operator= (const ToneGeneratorAudioSource&);
};

View file

@ -494,7 +494,7 @@ private:
AudioIODeviceType* findType (const String& inputName, const String& outputName);
AudioDeviceManager (const AudioDeviceManager&);
const AudioDeviceManager& operator= (const AudioDeviceManager&);
AudioDeviceManager& operator= (const AudioDeviceManager&);
};
#endif // __JUCE_AUDIODEVICEMANAGER_JUCEHEADER__

View file

@ -138,7 +138,7 @@ private:
String typeName;
AudioIODeviceType (const AudioIODeviceType&);
const AudioIODeviceType& operator= (const AudioIODeviceType&);
AudioIODeviceType& operator= (const AudioIODeviceType&);
};

View file

@ -122,7 +122,7 @@ void AudioSampleBuffer::allocateChannels (float** const dataToReferTo)
channels [numChannels] = 0;
}
const AudioSampleBuffer& AudioSampleBuffer::operator= (const AudioSampleBuffer& other) throw()
AudioSampleBuffer& AudioSampleBuffer::operator= (const AudioSampleBuffer& other) throw()
{
if (this != &other)
{

View file

@ -82,7 +82,7 @@ public:
This buffer's size will be changed to that of the other buffer.
*/
const AudioSampleBuffer& operator= (const AudioSampleBuffer& other) throw();
AudioSampleBuffer& operator= (const AudioSampleBuffer& other) throw();
/** Destructor.

View file

@ -146,7 +146,7 @@ protected:
float x1, x2, y1, y2;
// (use the copyCoefficientsFrom() method instead of this operator)
const IIRFilter& operator= (const IIRFilter&);
IIRFilter& operator= (const IIRFilter&);
};

View file

@ -48,7 +48,7 @@ MidiBuffer::MidiBuffer (const MidiBuffer& other) throw()
{
}
const MidiBuffer& MidiBuffer::operator= (const MidiBuffer& other) throw()
MidiBuffer& MidiBuffer::operator= (const MidiBuffer& other) throw()
{
bytesUsed = other.bytesUsed;
data = other.data;

View file

@ -53,7 +53,7 @@ public:
MidiBuffer (const MidiBuffer& other) throw();
/** Makes a copy of another MidiBuffer. */
const MidiBuffer& operator= (const MidiBuffer& other) throw();
MidiBuffer& operator= (const MidiBuffer& other) throw();
/** Destructor */
~MidiBuffer() throw();
@ -217,7 +217,7 @@ public:
const uint8* data;
Iterator (const Iterator&);
const Iterator& operator= (const Iterator&);
Iterator& operator= (const Iterator&);
};

View file

@ -186,7 +186,7 @@ private:
short timeFormat;
MidiFile (const MidiFile&);
const MidiFile& operator= (const MidiFile&);
MidiFile& operator= (const MidiFile&);
void readNextTrack (const char* data, int size);
void writeTrack (OutputStream& mainOut, const int trackNum);

View file

@ -207,7 +207,7 @@ private:
void noteOffInternal (const int midiChannel, const int midiNoteNumber);
MidiKeyboardState (const MidiKeyboardState&);
const MidiKeyboardState& operator= (const MidiKeyboardState&);
MidiKeyboardState& operator= (const MidiKeyboardState&);
};

View file

@ -252,7 +252,7 @@ MidiMessage::MidiMessage (const uint8* src,
}
}
const MidiMessage& MidiMessage::operator= (const MidiMessage& other) throw()
MidiMessage& MidiMessage::operator= (const MidiMessage& other) throw()
{
if (this != &other)
{

View file

@ -111,7 +111,7 @@ public:
~MidiMessage() throw();
/** Copies this message from another one. */
const MidiMessage& operator= (const MidiMessage& other) throw();
MidiMessage& operator= (const MidiMessage& other) throw();
//==============================================================================
/** Returns a pointer to the raw midi data.

View file

@ -102,7 +102,7 @@ private:
double sampleRate;
MidiMessageCollector (const MidiMessageCollector&);
const MidiMessageCollector& operator= (const MidiMessageCollector&);
MidiMessageCollector& operator= (const MidiMessageCollector&);
};

View file

@ -56,7 +56,7 @@ public:
private:
AudioUnitPluginFormat (const AudioUnitPluginFormat&);
const AudioUnitPluginFormat& operator= (const AudioUnitPluginFormat&);
AudioUnitPluginFormat& operator= (const AudioUnitPluginFormat&);
};
#endif

View file

@ -57,7 +57,7 @@ public:
private:
VSTPluginFormat (const VSTPluginFormat&);
const VSTPluginFormat& operator= (const VSTPluginFormat&);
VSTPluginFormat& operator= (const VSTPluginFormat&);
void recursiveFileSearch (StringArray& results, const File& dir, const bool recursive);
};

View file

@ -113,7 +113,7 @@ protected:
AudioPluginFormat() throw();
AudioPluginFormat (const AudioPluginFormat&);
const AudioPluginFormat& operator= (const AudioPluginFormat&);
AudioPluginFormat& operator= (const AudioPluginFormat&);
};

View file

@ -99,7 +99,7 @@ private:
OwnedArray <AudioPluginFormat> formats;
AudioPluginFormatManager (const AudioPluginFormatManager&);
const AudioPluginFormatManager& operator= (const AudioPluginFormatManager&);
AudioPluginFormatManager& operator= (const AudioPluginFormatManager&);
};

View file

@ -63,7 +63,7 @@ protected:
AudioPluginInstance();
AudioPluginInstance (const AudioPluginInstance&);
const AudioPluginInstance& operator= (const AudioPluginInstance&);
AudioPluginInstance& operator= (const AudioPluginInstance&);
};

View file

@ -164,7 +164,7 @@ private:
OwnedArray <PluginDescription> types;
KnownPluginList (const KnownPluginList&);
const KnownPluginList& operator= (const KnownPluginList&);
KnownPluginList& operator= (const KnownPluginList&);
};

View file

@ -59,7 +59,7 @@ PluginDescription::PluginDescription (const PluginDescription& other) throw()
{
}
const PluginDescription& PluginDescription::operator= (const PluginDescription& other) throw()
PluginDescription& PluginDescription::operator= (const PluginDescription& other) throw()
{
name = other.name;
pluginFormatName = other.pluginFormatName;

View file

@ -47,7 +47,7 @@ public:
//==============================================================================
PluginDescription() throw();
PluginDescription (const PluginDescription& other) throw();
const PluginDescription& operator= (const PluginDescription& other) throw();
PluginDescription& operator= (const PluginDescription& other) throw();
~PluginDescription() throw();
//==============================================================================

View file

@ -116,7 +116,7 @@ private:
void setDeadMansPedalFile (const StringArray& newContents) throw();
PluginDirectoryScanner (const PluginDirectoryScanner&);
const PluginDirectoryScanner& operator= (const PluginDirectoryScanner&);
PluginDirectoryScanner& operator= (const PluginDirectoryScanner&);
};

View file

@ -94,7 +94,7 @@ private:
void scanFor (AudioPluginFormat* format);
PluginListComponent (const PluginListComponent&);
const PluginListComponent& operator= (const PluginListComponent&);
PluginListComponent& operator= (const PluginListComponent&);
};

View file

@ -583,7 +583,7 @@ private:
#endif
AudioProcessor (const AudioProcessor&);
const AudioProcessor& operator= (const AudioProcessor&);
AudioProcessor& operator= (const AudioProcessor&);
};

View file

@ -375,7 +375,7 @@ private:
const int channelNum;
ClearChannelOp (const ClearChannelOp&);
const ClearChannelOp& operator= (const ClearChannelOp&);
ClearChannelOp& operator= (const ClearChannelOp&);
};
//==============================================================================
@ -398,7 +398,7 @@ private:
const int srcChannelNum, dstChannelNum;
CopyChannelOp (const CopyChannelOp&);
const CopyChannelOp& operator= (const CopyChannelOp&);
CopyChannelOp& operator= (const CopyChannelOp&);
};
//==============================================================================
@ -421,7 +421,7 @@ private:
const int srcChannelNum, dstChannelNum;
AddChannelOp (const AddChannelOp&);
const AddChannelOp& operator= (const AddChannelOp&);
AddChannelOp& operator= (const AddChannelOp&);
};
//==============================================================================
@ -443,7 +443,7 @@ private:
const int bufferNum;
ClearMidiBufferOp (const ClearMidiBufferOp&);
const ClearMidiBufferOp& operator= (const ClearMidiBufferOp&);
ClearMidiBufferOp& operator= (const ClearMidiBufferOp&);
};
//==============================================================================
@ -466,7 +466,7 @@ private:
const int srcBufferNum, dstBufferNum;
CopyMidiBufferOp (const CopyMidiBufferOp&);
const CopyMidiBufferOp& operator= (const CopyMidiBufferOp&);
CopyMidiBufferOp& operator= (const CopyMidiBufferOp&);
};
//==============================================================================
@ -490,7 +490,7 @@ private:
const int srcBufferNum, dstBufferNum;
AddMidiBufferOp (const AddMidiBufferOp&);
const AddMidiBufferOp& operator= (const AddMidiBufferOp&);
AddMidiBufferOp& operator= (const AddMidiBufferOp&);
};
//==============================================================================
@ -537,7 +537,7 @@ private:
int midiBufferToUse;
ProcessBufferOp (const ProcessBufferOp&);
const ProcessBufferOp& operator= (const ProcessBufferOp&);
ProcessBufferOp& operator= (const ProcessBufferOp&);
};
//==============================================================================
@ -957,7 +957,7 @@ private:
}
RenderingOpSequenceCalculator (const RenderingOpSequenceCalculator&);
const RenderingOpSequenceCalculator& operator= (const RenderingOpSequenceCalculator&);
RenderingOpSequenceCalculator& operator= (const RenderingOpSequenceCalculator&);
};
}

View file

@ -112,7 +112,7 @@ public:
void unprepare();
Node (const Node&);
const Node& operator= (const Node&);
Node& operator= (const Node&);
};
//==============================================================================
@ -363,7 +363,7 @@ public:
AudioProcessorGraph* graph;
AudioGraphIOProcessor (const AudioGraphIOProcessor&);
const AudioGraphIOProcessor& operator= (const AudioGraphIOProcessor&);
AudioGraphIOProcessor& operator= (const AudioGraphIOProcessor&);
};
//==============================================================================
@ -430,7 +430,7 @@ private:
const int recursionCheck) const;
AudioProcessorGraph (const AudioProcessorGraph&);
const AudioProcessorGraph& operator= (const AudioProcessorGraph&);
AudioProcessorGraph& operator= (const AudioProcessorGraph&);
};

View file

@ -106,7 +106,7 @@ private:
MidiMessageCollector messageCollector;
AudioProcessorPlayer (const AudioProcessorPlayer&);
const AudioProcessorPlayer& operator= (const AudioProcessorPlayer&);
AudioProcessorPlayer& operator= (const AudioProcessorPlayer&);
};

View file

@ -121,11 +121,11 @@ private:
const int index;
ParamSlider (const ParamSlider&);
const ParamSlider& operator= (const ParamSlider&);
ParamSlider& operator= (const ParamSlider&);
};
ProcessorParameterPropertyComp (const ProcessorParameterPropertyComp&);
const ProcessorParameterPropertyComp& operator= (const ProcessorParameterPropertyComp&);
ProcessorParameterPropertyComp& operator= (const ProcessorParameterPropertyComp&);
};

View file

@ -59,7 +59,7 @@ private:
PropertyPanel* panel;
GenericAudioProcessorEditor (const GenericAudioProcessorEditor&);
const GenericAudioProcessorEditor& operator= (const GenericAudioProcessorEditor&);
GenericAudioProcessorEditor& operator= (const GenericAudioProcessorEditor&);
};

View file

@ -477,7 +477,7 @@ private:
bool shouldStealNotes;
Synthesiser (const Synthesiser&);
const Synthesiser& operator= (const Synthesiser&);
Synthesiser& operator= (const Synthesiser&);
};

View file

@ -235,7 +235,7 @@ private:
ElementType* data;
HeapBlock (const HeapBlock&);
const HeapBlock& operator= (const HeapBlock&);
HeapBlock& operator= (const HeapBlock&);
};

View file

@ -48,7 +48,7 @@ PropertySet::PropertySet (const PropertySet& other) throw()
{
}
const PropertySet& PropertySet::operator= (const PropertySet& other) throw()
PropertySet& PropertySet::operator= (const PropertySet& other) throw()
{
properties = other.properties;
fallbackProperties = other.fallbackProperties;

View file

@ -57,7 +57,7 @@ public:
/** Copies another PropertySet over this one.
*/
const PropertySet& operator= (const PropertySet& other) throw();
PropertySet& operator= (const PropertySet& other) throw();
/** Destructor. */
virtual ~PropertySet();

View file

@ -163,7 +163,7 @@ public:
The reference count of the old object is decremented, and it might be
deleted if it hits zero. The new object's count is incremented.
*/
const ReferenceCountedObjectPtr<ReferenceCountedObjectClass>& operator= (const ReferenceCountedObjectPtr<ReferenceCountedObjectClass>& other)
ReferenceCountedObjectPtr<ReferenceCountedObjectClass>& operator= (const ReferenceCountedObjectPtr<ReferenceCountedObjectClass>& other)
{
ReferenceCountedObjectClass* const newObject = other.referencedObject;
@ -187,7 +187,7 @@ public:
The reference count of the old object is decremented, and it might be
deleted if it hits zero. The new object's count is incremented.
*/
const ReferenceCountedObjectPtr<ReferenceCountedObjectClass>& operator= (ReferenceCountedObjectClass* const newObject)
ReferenceCountedObjectPtr<ReferenceCountedObjectClass>& operator= (ReferenceCountedObjectClass* const newObject)
{
if (referencedObject != newObject)
{

View file

@ -86,7 +86,7 @@ public:
If this ScopedPointer already points to an object, that object
will first be deleted.
*/
const ScopedPointer& operator= (ScopedPointer& objectToTransferFrom)
ScopedPointer& operator= (ScopedPointer& objectToTransferFrom)
{
if (this != objectToTransferFrom.getAddress())
{
@ -110,7 +110,7 @@ public:
The pointer that you pass is may be null.
*/
const ScopedPointer& operator= (ObjectType* const newObjectToTakePossessionOf)
ScopedPointer& operator= (ObjectType* const newObjectToTakePossessionOf)
{
if (object != newObjectToTakePossessionOf)
{

View file

@ -96,7 +96,7 @@ private:
var value;
SimpleValueSource (const SimpleValueSource&);
const SimpleValueSource& operator= (const SimpleValueSource&);
SimpleValueSource& operator= (const SimpleValueSource&);
};
@ -122,7 +122,7 @@ Value::Value (const Value& other)
{
}
const Value& Value::operator= (const Value& other)
Value& Value::operator= (const Value& other)
{
value = other.value;
return *this;
@ -150,7 +150,7 @@ const String Value::toString() const
return value->getValue().toString();
}
const Value& Value::operator= (const var& newValue)
Value& Value::operator= (const var& newValue)
{
value->setValue (newValue);
return *this;

View file

@ -98,7 +98,7 @@ public:
If there are any listeners registered, they will be notified of the
change asynchronously.
*/
const Value& operator= (const var& newValue);
Value& operator= (const var& newValue);
/** Makes this object refer to the same underlying ValueSource as another one.
@ -202,7 +202,7 @@ public:
void handleAsyncUpdate();
ValueSource (const ValueSource&);
const ValueSource& operator= (const ValueSource&);
ValueSource& operator= (const ValueSource&);
};
@ -223,7 +223,7 @@ private:
// This is disallowed to avoid confusion about whether it should
// do a by-value or by-reference copy.
const Value& operator= (const Value& other);
Value& operator= (const Value& other);
};

View file

@ -81,7 +81,7 @@ private:
const bool isAddingNewProperty, isDeletingProperty;
ValueTreeSetPropertyAction (const ValueTreeSetPropertyAction&);
const ValueTreeSetPropertyAction& operator= (const ValueTreeSetPropertyAction&);
ValueTreeSetPropertyAction& operator= (const ValueTreeSetPropertyAction&);
};
//==============================================================================
@ -131,7 +131,7 @@ private:
const bool isDeleting;
ValueTreeChildChangeAction (const ValueTreeChildChangeAction&);
const ValueTreeChildChangeAction& operator= (const ValueTreeChildChangeAction&);
ValueTreeChildChangeAction& operator= (const ValueTreeChildChangeAction&);
};
@ -437,7 +437,7 @@ ValueTree::ValueTree (const ValueTree& other)
{
}
const ValueTree& ValueTree::operator= (const ValueTree& other)
ValueTree& ValueTree::operator= (const ValueTree& other)
{
if (listeners.size() > 0)
{
@ -579,7 +579,7 @@ private:
const var::identifier property;
UndoManager* const undoManager;
const ValueTreePropertyValueSource& operator= (const ValueTreePropertyValueSource&);
ValueTreePropertyValueSource& operator= (const ValueTreePropertyValueSource&);
};
Value ValueTree::getPropertyAsValue (const var::identifier& name, UndoManager* const undoManager) const

View file

@ -82,7 +82,7 @@ public:
ValueTree (const ValueTree& other);
/** Makes this object reference another node. */
const ValueTree& operator= (const ValueTree& other);
ValueTree& operator= (const ValueTree& other);
/** Destructor. */
~ValueTree();
@ -417,7 +417,7 @@ private:
juce_UseDebuggingNewOperator
private:
const SharedObject& operator= (const SharedObject&);
SharedObject& operator= (const SharedObject&);
};
template <typename ElementComparator>

View file

@ -105,7 +105,7 @@ private:
void trimFileSize (int maxFileSizeBytes) const;
FileLogger (const FileLogger&);
const FileLogger& operator= (const FileLogger&);
FileLogger& operator= (const FileLogger&);
};

View file

@ -213,7 +213,7 @@ private:
void* pool;
ScopedAutoReleasePool (const ScopedAutoReleasePool&);
const ScopedAutoReleasePool& operator= (const ScopedAutoReleasePool&);
ScopedAutoReleasePool& operator= (const ScopedAutoReleasePool&);
};
#endif
@ -327,7 +327,7 @@ private:
bool open (const bool openInExclusiveMode);
AppleRemoteDevice (const AppleRemoteDevice&);
const AppleRemoteDevice& operator= (const AppleRemoteDevice&);
AppleRemoteDevice& operator= (const AppleRemoteDevice&);
};
#endif

View file

@ -178,7 +178,7 @@ const String RelativeTime::getDescription (const String& returnValueForZeroTime)
}
//==============================================================================
const RelativeTime& RelativeTime::operator= (const RelativeTime& other) throw()
RelativeTime& RelativeTime::operator= (const RelativeTime& other) throw()
{
seconds = other.seconds;
return *this;

View file

@ -52,7 +52,7 @@ public:
RelativeTime (const RelativeTime& other) throw();
/** Copies another relative time. */
const RelativeTime& operator= (const RelativeTime& other) throw();
RelativeTime& operator= (const RelativeTime& other) throw();
/** Destructor. */
~RelativeTime() throw();

View file

@ -173,7 +173,7 @@ Time::~Time() throw()
{
}
const Time& Time::operator= (const Time& other) throw()
Time& Time::operator= (const Time& other) throw()
{
millisSinceEpoch = other.millisSinceEpoch;
return *this;

View file

@ -93,7 +93,7 @@ public:
~Time() throw();
/** Copies this time from another one. */
const Time& operator= (const Time& other) throw();
Time& operator= (const Time& other) throw();
//==============================================================================
/** Returns a Time object that is set to the current system time.

View file

@ -360,7 +360,7 @@ BlowFish::BlowFish (const BlowFish& other)
operator= (other);
}
const BlowFish& BlowFish::operator= (const BlowFish& other)
BlowFish& BlowFish::operator= (const BlowFish& other)
{
memcpy (p, other.p, sizeof (p));

View file

@ -48,7 +48,7 @@ public:
BlowFish (const BlowFish& other);
/** Copies another blowfish object. */
const BlowFish& operator= (const BlowFish& other);
BlowFish& operator= (const BlowFish& other);
/** Destructor. */
~BlowFish();

View file

@ -44,7 +44,7 @@ MD5::MD5 (const MD5& other)
memcpy (result, other.result, sizeof (result));
}
const MD5& MD5::operator= (const MD5& other)
MD5& MD5::operator= (const MD5& other)
{
memcpy (result, other.result, sizeof (result));
return *this;

View file

@ -51,7 +51,7 @@ public:
MD5 (const MD5& other);
/** Copies another MD5. */
const MD5& operator= (const MD5& other);
MD5& operator= (const MD5& other);
//==============================================================================
/** Creates a checksum for a block of binary data. */

View file

@ -76,7 +76,7 @@ private:
ActionListenerList actionListenerList;
ActionBroadcaster (const ActionBroadcaster&);
const ActionBroadcaster& operator= (const ActionBroadcaster&);
ActionBroadcaster& operator= (const ActionBroadcaster&);
};

View file

@ -52,7 +52,7 @@ public:
private:
ActionMessage (const ActionMessage&);
const ActionMessage& operator= (const ActionMessage&);
ActionMessage& operator= (const ActionMessage&);
};
//==============================================================================

View file

@ -89,7 +89,7 @@ private:
CriticalSection actionListenerLock_;
ActionListenerList (const ActionListenerList&);
const ActionListenerList& operator= (const ActionListenerList&);
ActionListenerList& operator= (const ActionListenerList&);
};

View file

@ -105,7 +105,7 @@ private:
private:
AsyncUpdaterInternal (const AsyncUpdaterInternal&);
const AsyncUpdaterInternal& operator= (const AsyncUpdaterInternal&);
AsyncUpdaterInternal& operator= (const AsyncUpdaterInternal&);
};
AsyncUpdaterInternal internalAsyncHandler;

View file

@ -75,7 +75,7 @@ public:
private:
CallbackMessage (const CallbackMessage&);
const CallbackMessage& operator= (const CallbackMessage&);
CallbackMessage& operator= (const CallbackMessage&);
};

View file

@ -91,7 +91,7 @@ private:
ChangeListenerList changeListenerList;
ChangeBroadcaster (const ChangeBroadcaster&);
const ChangeBroadcaster& operator= (const ChangeBroadcaster&);
ChangeBroadcaster& operator= (const ChangeBroadcaster&);
};

View file

@ -112,7 +112,7 @@ private:
bool messagePending;
ChangeListenerList (const ChangeListenerList&);
const ChangeListenerList& operator= (const ChangeListenerList&);
ChangeListenerList& operator= (const ChangeListenerList&);
};

View file

@ -210,7 +210,7 @@ private:
void run();
InterprocessConnection (const InterprocessConnection&);
const InterprocessConnection& operator= (const InterprocessConnection&);
InterprocessConnection& operator= (const InterprocessConnection&);
};
#endif // __JUCE_INTERPROCESSCONNECTION_JUCEHEADER__

View file

@ -93,7 +93,7 @@ private:
void run();
InterprocessConnectionServer (const InterprocessConnectionServer&);
const InterprocessConnectionServer& operator= (const InterprocessConnectionServer&);
InterprocessConnectionServer& operator= (const InterprocessConnectionServer&);
};

View file

@ -80,7 +80,7 @@ private:
MessageListener* messageRecipient;
Message (const Message&);
const Message& operator= (const Message&);
Message& operator= (const Message&);
};

View file

@ -196,7 +196,7 @@ private:
CriticalSection lockingLock;
MessageManager (const MessageManager&);
const MessageManager& operator= (const MessageManager&);
MessageManager& operator= (const MessageManager&);
};

View file

@ -126,7 +126,7 @@ private:
CriticalSection timerListLock;
OwnedArray <MultiTimerCallback> timers;
const MultiTimer& operator= (const MultiTimer&);
MultiTimer& operator= (const MultiTimer&);
};
#endif // __JUCE_MULTITIMER_JUCEHEADER__

View file

@ -124,7 +124,7 @@ private:
Timer* previous;
Timer* next;
const Timer& operator= (const Timer&);
Timer& operator= (const Timer&);
};
#endif // __JUCE_TIMER_JUCEHEADER__

View file

@ -75,7 +75,7 @@ private:
int offset;
ArrowButton (const ArrowButton&);
const ArrowButton& operator= (const ArrowButton&);
ArrowButton& operator= (const ArrowButton&);
};

View file

@ -503,7 +503,7 @@ private:
void sendStateMessage();
Button (const Button&);
const Button& operator= (const Button&);
Button& operator= (const Button&);
};

View file

@ -172,7 +172,7 @@ private:
void deleteImages();
DrawableButton (const DrawableButton&);
const DrawableButton& operator= (const DrawableButton&);
DrawableButton& operator= (const DrawableButton&);
};

View file

@ -114,7 +114,7 @@ private:
const Font getFontToUse() const;
HyperlinkButton (const HyperlinkButton&);
const HyperlinkButton& operator= (const HyperlinkButton&);
HyperlinkButton& operator= (const HyperlinkButton&);
};
#endif // __JUCE_HYPERLINKBUTTON_JUCEHEADER__

View file

@ -163,7 +163,7 @@ private:
void deleteImages();
ImageButton (const ImageButton&);
const ImageButton& operator= (const ImageButton&);
ImageButton& operator= (const ImageButton&);
};

View file

@ -106,7 +106,7 @@ private:
float outlineWidth;
ShapeButton (const ShapeButton&);
const ShapeButton& operator= (const ShapeButton&);
ShapeButton& operator= (const ShapeButton&);
};

View file

@ -101,7 +101,7 @@ protected:
private:
TextButton (const TextButton&);
const TextButton& operator= (const TextButton&);
TextButton& operator= (const TextButton&);
};

View file

@ -88,7 +88,7 @@ protected:
private:
//==============================================================================
ToggleButton (const ToggleButton&);
const ToggleButton& operator= (const ToggleButton&);
ToggleButton& operator= (const ToggleButton&);
};

View file

@ -84,7 +84,7 @@ private:
ScopedPointer <Drawable> normalImage, toggledOnImage;
ToolbarButton (const ToolbarButton&);
const ToolbarButton& operator= (const ToolbarButton&);
ToolbarButton& operator= (const ToolbarButton&);
};

View file

@ -130,7 +130,7 @@ CodeDocument::Iterator::Iterator (const CodeDocument::Iterator& other)
{
}
const CodeDocument::Iterator& CodeDocument::Iterator::operator= (const CodeDocument::Iterator& other) throw()
CodeDocument::Iterator& CodeDocument::Iterator::operator= (const CodeDocument::Iterator& other) throw()
{
document = other.document;
currentLine = other.currentLine;
@ -241,7 +241,7 @@ CodeDocument::Position::~Position() throw()
setPositionMaintained (false);
}
const CodeDocument::Position& CodeDocument::Position::operator= (const Position& other) throw()
CodeDocument::Position& CodeDocument::Position::operator= (const Position& other) throw()
{
if (this != &other)
{
@ -733,7 +733,7 @@ class CodeDocumentInsertAction : public UndoableAction
int insertPos;
CodeDocumentInsertAction (const CodeDocumentInsertAction&);
const CodeDocumentInsertAction& operator= (const CodeDocumentInsertAction&);
CodeDocumentInsertAction& operator= (const CodeDocumentInsertAction&);
public:
CodeDocumentInsertAction (CodeDocument& owner_, const String& text_, const int insertPos_) throw()
@ -839,7 +839,7 @@ class CodeDocumentDeleteAction : public UndoableAction
String removedText;
CodeDocumentDeleteAction (const CodeDocumentDeleteAction&);
const CodeDocumentDeleteAction& operator= (const CodeDocumentDeleteAction&);
CodeDocumentDeleteAction& operator= (const CodeDocumentDeleteAction&);
public:
CodeDocumentDeleteAction (CodeDocument& owner_, const int startPos_, const int endPos_) throw()

View file

@ -105,7 +105,7 @@ public:
/** Destructor. */
~Position() throw();
const Position& operator= (const Position& other) throw();
Position& operator= (const Position& other) throw();
bool operator== (const Position& other) const throw();
bool operator!= (const Position& other) const throw();
@ -341,7 +341,7 @@ public:
public:
Iterator (CodeDocument* const document);
Iterator (const Iterator& other);
const Iterator& operator= (const Iterator& other) throw();
Iterator& operator= (const Iterator& other) throw();
~Iterator() throw();
/** Reads the next character and returns it.
@ -402,7 +402,7 @@ private:
void checkLastLineStatus();
CodeDocument (const CodeDocument&);
const CodeDocument& operator= (const CodeDocument&);
CodeDocument& operator= (const CodeDocument&);
};

View file

@ -297,7 +297,7 @@ private:
int columnToIndex (int line, int column) const throw();
CodeEditorComponent (const CodeEditorComponent&);
const CodeEditorComponent& operator= (const CodeEditorComponent&);
CodeEditorComponent& operator= (const CodeEditorComponent&);
};

View file

@ -402,7 +402,7 @@ private:
ItemInfo* getItemForIndex (const int index) const throw();
ComboBox (const ComboBox&);
const ComboBox& operator= (const ComboBox&);
ComboBox& operator= (const ComboBox&);
};
#endif // __JUCE_COMBOBOX_JUCEHEADER__

View file

@ -342,7 +342,7 @@ private:
void callChangeListeners();
Label (const Label&);
const Label& operator= (const Label&);
Label& operator= (const Label&);
};

View file

@ -167,7 +167,7 @@ private:
bool selected, isDragging, selectRowOnMouseUp;
ListBoxRowComponent (const ListBoxRowComponent&);
const ListBoxRowComponent& operator= (const ListBoxRowComponent&);
ListBoxRowComponent& operator= (const ListBoxRowComponent&);
};
@ -325,7 +325,7 @@ private:
ListBox& owner;
ListViewport (const ListViewport&);
const ListViewport& operator= (const ListViewport&);
ListViewport& operator= (const ListViewport&);
};

View file

@ -582,7 +582,7 @@ private:
bool isMouseClick);
ListBox (const ListBox&);
const ListBox& operator= (const ListBox&);
ListBox& operator= (const ListBox&);
};

View file

@ -118,7 +118,7 @@ private:
void timerCallback();
ProgressBar (const ProgressBar&);
const ProgressBar& operator= (const ProgressBar&);
ProgressBar& operator= (const ProgressBar&);
};

View file

@ -85,7 +85,7 @@ private:
String text;
SliderPopupDisplayComponent (const SliderPopupDisplayComponent&);
const SliderPopupDisplayComponent& operator= (const SliderPopupDisplayComponent&);
SliderPopupDisplayComponent& operator= (const SliderPopupDisplayComponent&);
};
//==============================================================================

View file

@ -792,7 +792,7 @@ private:
bool incDecDragDirectionIsHorizontal() const;
Slider (const Slider&);
const Slider& operator= (const Slider&);
Slider& operator= (const Slider&);
};

Some files were not shown because too many files have changed in this diff Show more