Add support for Avination's "Upload Credits"

This commit is contained in:
Melanie
2013-04-15 15:55:46 +02:00
parent 0b70e32f15
commit 09965b0cdf
7 changed files with 83 additions and 6 deletions

View File

@@ -58,7 +58,8 @@ HippoGridInfo::HippoGridInfo(const std::string& gridName) :
mMaxAgentGroups(-1),
mCurrencySymbol("OS$"),
mRealCurrencySymbol("US$"),
mDirectoryFee(30)
mDirectoryFee(30),
mUPCSupported(false)
{
}
@@ -676,6 +677,19 @@ void HippoGridInfo::setAutoUpdate(bool b)
mAutoUpdate = b;
}
bool HippoGridInfo::getUPCSupported()
{
if(isSecondLife())
return false;
else
return mUPCSupported;
}
void HippoGridInfo::setUPCSupported(bool b)
{
mUPCSupported = b;
}
// ********************************************************************
// ********************************************************************
// HippoGridManager