Differences From Artifact [e0dcfb0362]:
- File
utils/ofhttp/ProgressBar.h
— part of check-in
[486073790c]
at
2015-04-26 12:24:37
on branch trunk
— Add utils/ofhttp
This is a small tool to download files via HTTP(S). (user: js, size: 893) [annotate] [blame] [check-ins using]
To Artifact [fea9147d40]:
- File utils/ofhttp/ProgressBar.h — part of check-in [336a6e129b] at 2015-04-26 14:57:19 on branch trunk — utils/ofhttp: Support for continuing downloads (user: js, size: 947) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
17 18 19 20 21 22 23 | #import "OFObject.h" @class OFDate; @class OFTimer; @interface ProgressBar: OFObject { | | | > | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | #import "OFObject.h" @class OFDate; @class OFTimer; @interface ProgressBar: OFObject { intmax_t _received, _lastReceived, _length, _resumedFrom; OFDate *_startDate; double _lastDrawn; OFTimer *_timer; bool _stopped; } - initWithLength: (intmax_t)length resumedFrom: (intmax_t)resumedFrom; - (void)setReceived: (intmax_t)received; - (void)draw; - (void)stop; @end |