mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-04 14:05:12 +00:00
Proper removing search results on SWF close
This commit is contained in:
@@ -176,4 +176,9 @@ public class ABCSearchResult implements Serializable, ScriptSearchResult {
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public SWF getSWF() {
|
||||
return scriptPack.getSwf();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -87,4 +87,9 @@ public class ActionSearchResult implements ScriptSearchResult {
|
||||
public String toString() {
|
||||
return path;
|
||||
}
|
||||
|
||||
@Override
|
||||
public SWF getSWF() {
|
||||
return src.getSwf();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,6 @@ package com.jpexs.decompiler.flash.search;
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public interface ScriptSearchResult {
|
||||
public interface ScriptSearchResult extends SearchResult {
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
package com.jpexs.decompiler.flash.search;
|
||||
|
||||
import com.jpexs.decompiler.flash.SWF;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public interface SearchResult {
|
||||
public SWF getSWF();
|
||||
}
|
||||
Reference in New Issue
Block a user