E
EdwardH
class Status has a member class called Transferstatus.
class TransferStatus has the method
setData(filename, filesize, direction)
Normally one would call
Status.getTransferStatus().setData(filename, filesize, direction)
Q: What are y'all's opinions on making a convenience function in Status
that calls setData? Status.set(filename, filesize, direction).
It's much shorter to use Status.set, but are there any disadvantages? Am
I making Status too smart?
class TransferStatus has the method
setData(filename, filesize, direction)
Normally one would call
Status.getTransferStatus().setData(filename, filesize, direction)
Q: What are y'all's opinions on making a convenience function in Status
that calls setData? Status.set(filename, filesize, direction).
It's much shorter to use Status.set, but are there any disadvantages? Am
I making Status too smart?