"use strict";var ptp=require("../.."),util=require("./util"),onConnected;onConnected=function(){console.log("Getting object handles..."),ptp.getObjectHandles({storageId:4294967295,objectFormatCode:0,objectHandleOfAssociation:0,onSuccess:function(e){console.log(e.handles.length===0?"No objects found":"Handles: "+e.handles.join(", ")),ptp.disconnect()},onFailure:function(){console.error("Failed"),ptp.disconnect()}})},module.exports=function(e){require("./connect")({host:e,onConnected:onConnected})};