mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-15 20:41:55 +00:00
Added Show "Renaming identifiers" status on file opening with auto rename identifiers on
This commit is contained in:
@@ -1547,6 +1547,9 @@ public final class SWF implements SWFContainerItem, Timelined, Openable {
|
||||
}
|
||||
|
||||
if (allowRenameIdentifiers && Configuration.autoRenameIdentifiers.get()) {
|
||||
if (listener != null) {
|
||||
listener.status("renaming.identifiers");
|
||||
}
|
||||
deobfuscateIdentifiers(RenameType.TYPENUMBER);
|
||||
AbcMultiNameCollisionFixer collisionFixer = new AbcMultiNameCollisionFixer();
|
||||
collisionFixer.fixCollisions(this);
|
||||
|
||||
@@ -73,6 +73,10 @@ public class SWFSearch {
|
||||
public void progress(int p) {
|
||||
setProgress(p);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void status(String status) {
|
||||
}
|
||||
},
|
||||
"FWS".getBytes(), // Uncompressed Flash
|
||||
"CWS".getBytes(), // ZLib compressed Flash
|
||||
|
||||
@@ -20,8 +20,9 @@ package com.jpexs.helpers;
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
@FunctionalInterface
|
||||
public interface ProgressListener {
|
||||
|
||||
public void progress(int p);
|
||||
|
||||
public void status(String status);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user