 // Flump - Copyright 2013 Flump Authors
 
 package flump.export {
-
-import aspire.util.Log;
 
 import flash.filesystem.File;
 

    public function Publisher (exportDir :File, project :ProjectConf, projectName :String) {
        _exportDir = exportDir;
        _projectName = projectName;
        for each (var export :ExportConf in project.exports) _confs.push(export);
    }

    public function modified (libs :Vector.<XflLibrary>, idx :int = -1) :Boolean {
        // Instantiate all formats and check for modified. For a ProjectConf that contains combined
        // exports, all individual libs will check as modified if any single lib is modified
        return instantiate(libs, idx).some(function (export :PublishFormat, ..._) :Boolean {
            return export.modified;
        });
    }


    private var _exportDir :File;
    private var _projectName :String;
    private const _confs :Vector.<ExportConf> = new <ExportConf>[];
}
}
