コード例 #1
0
void FSLSLBridge::cleanUpOldVersions()
{
	std::string mProcessingName;

	for (S32 i = 1; i <= FS_BRIDGE_MAJOR_VERSION; i++)
	{
		S32 minor_tip;
		if (i < FS_BRIDGE_MAJOR_VERSION)
		{
			minor_tip = FS_MAX_MINOR_VERSION;
		}
		else
		{
			minor_tip = FS_BRIDGE_MINOR_VERSION;
		}

		for (S32 j = 0; j < minor_tip; j++)
		{
			std::stringstream sstr;
	
			sstr << FS_BRIDGE_NAME;
			sstr << i;
			sstr << ".";
			sstr << j;

			mProcessingName = sstr.str();
			cleanUpBridgeFolder(mProcessingName);
		}
	}
}
コード例 #2
0
void FSLSLBridge :: finishBridge()
{
	//announce yourself
	reportToNearbyChat("Bridge created.");

	mBridgeCreating = false;
	//removeVOInventoryListener();
	cleanUpBridgeFolder();
}
コード例 #3
0
void FSLSLBridge::finishBridge()
{
	//announce yourself
	llinfos << "Bridge created." << llendl;
	reportToNearbyChat(LLTrans::getString("fsbridge_created"));

	mBridgeCreating = false;
	mIsFirstCallDone = false;
	//removeVOInventoryListener();
	cleanUpOldVersions();
	cleanUpBridgeFolder();
}
コード例 #4
0
void FSLSLBridge::cleanUpBridgeFolder()
{
	cleanUpBridgeFolder(mCurrentFullName);
}