X-Git-Url: https://gitweb.fperrin.net/?a=blobdiff_plain;f=tim%2Fprune%2Fload%2Fxml%2FZipFileLoader.java;h=20b3ab2f753d69d302cb27cb13098a8109ad3069;hb=f35b6d628f68e3b5ef19965ad8988d0dd1eb8efa;hp=2d0f1693226cced1a8dd8aafd057d32fd506e936;hpb=c0387c124840c9407e040600fda88f3c3e8f6aa6;p=GpsPrune.git diff --git a/tim/prune/load/xml/ZipFileLoader.java b/tim/prune/load/xml/ZipFileLoader.java index 2d0f169..20b3ab2 100644 --- a/tim/prune/load/xml/ZipFileLoader.java +++ b/tim/prune/load/xml/ZipFileLoader.java @@ -22,7 +22,7 @@ public class ZipFileLoader /** App for callback of file loading */ private App _app = null; /** Object to do the handling of the xml */ - XmlFileLoader _xmlLoader = null; + private XmlFileLoader _xmlLoader = null; /** * Constructor @@ -67,7 +67,7 @@ public class ZipFileLoader SourceInfo sourceInfo = new SourceInfo(inFile, (handler instanceof GpxHandler?SourceInfo.FILE_TYPE.GPX:SourceInfo.FILE_TYPE.KML)); _app.informDataLoaded(handler.getFieldArray(), handler.getDataArray(), - Altitude.Format.METRES, sourceInfo); + Altitude.Format.METRES, sourceInfo, handler.getTrackNameList(), handler.getLinkArray()); xmlFound = true; } } @@ -113,7 +113,8 @@ public class ZipFileLoader else { // Send back to app _app.informDataLoaded(handler.getFieldArray(), handler.getDataArray(), - Altitude.Format.METRES, new SourceInfo("gpsies", SourceInfo.FILE_TYPE.GPSIES)); + Altitude.Format.METRES, new SourceInfo("gpsies", SourceInfo.FILE_TYPE.GPSIES), + handler.getTrackNameList()); xmlFound = true; } }