mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:57:35 +00:00
LibProtocol: Add a Download object so users don't have to manage ID's
LibProtocol::Client::start_download() now gives you a Download object with convenient hooks (on_finish & on_progress). Also, the IPC handshake is snuck into the Client constructor, so you don't need to perform it after instantiating a Client. This makes using LibProtocol much more pleasant. :^)
This commit is contained in:
parent
3dc87be891
commit
653e61d9cf
6 changed files with 112 additions and 28 deletions
|
@ -1,6 +1,7 @@
|
|||
include ../../Makefile.common
|
||||
|
||||
OBJS = \
|
||||
Download.o \
|
||||
Client.o
|
||||
|
||||
LIBRARY = libprotocol.a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue