|
|
|
@@ -304,19 +304,19 @@ void JucerDocument::getOptionalMethods (StringArray& baseClasses, |
|
|
|
addMethod ("Component", "void", "inputAttemptWhenModal()", "", baseClasses, returnValues, methods, initialContents);
|
|
|
|
}
|
|
|
|
|
|
|
|
void JucerDocument::setOptionalMethodEnabled (const String& methodSigniture, const bool enable)
|
|
|
|
void JucerDocument::setOptionalMethodEnabled (const String& methodSignature, const bool enable)
|
|
|
|
{
|
|
|
|
if (enable)
|
|
|
|
activeExtraMethods.addIfNotAlreadyThere (methodSigniture);
|
|
|
|
activeExtraMethods.addIfNotAlreadyThere (methodSignature);
|
|
|
|
else
|
|
|
|
activeExtraMethods.removeString (methodSigniture);
|
|
|
|
activeExtraMethods.removeString (methodSignature);
|
|
|
|
|
|
|
|
changed();
|
|
|
|
}
|
|
|
|
|
|
|
|
bool JucerDocument::isOptionalMethodEnabled (const String& methodSigniture) const throw()
|
|
|
|
bool JucerDocument::isOptionalMethodEnabled (const String& methodSignature) const throw()
|
|
|
|
{
|
|
|
|
return activeExtraMethods.contains (methodSigniture);
|
|
|
|
return activeExtraMethods.contains (methodSignature);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|