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); } } }
void FSLSLBridge :: finishBridge() { //announce yourself reportToNearbyChat("Bridge created."); mBridgeCreating = false; //removeVOInventoryListener(); cleanUpBridgeFolder(); }
void FSLSLBridge::finishBridge() { //announce yourself llinfos << "Bridge created." << llendl; reportToNearbyChat(LLTrans::getString("fsbridge_created")); mBridgeCreating = false; mIsFirstCallDone = false; //removeVOInventoryListener(); cleanUpOldVersions(); cleanUpBridgeFolder(); }
void FSLSLBridge::cleanUpBridgeFolder() { cleanUpBridgeFolder(mCurrentFullName); }