1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Reimplemented the VST hex/decimal version change.

This commit is contained in:
jules 2012-11-02 19:54:48 +00:00
parent aa0eb1a75d
commit 2c72bfac6c
4 changed files with 10 additions and 15 deletions

View file

@ -403,18 +403,6 @@ String Project::getVersionAsHex() const
return "0x" + String::toHexString (value);
}
String Project::getVersionAsDecimal() const
{
const StringArray configs (getConfigs (*this));
int value = (configs[0].getIntValue() * 100) + (configs[1].getIntValue() * 10) + configs[2].getIntValue();
if (configs.size() >= 4)
value = (value * 10) + configs[3].getIntValue();
return String (value);
}
StringPairArray Project::getPreprocessorDefs() const
{
return parsePreprocessorDefs (projectRoot [Ids::defines]);