Networkmanager (#134)
* rename ImageLoader* to Network* * static NetworkManager * NetworkManager queue arbitrary requests * modify urlfetch to use NetworkManager * urlfetchjson in terms of NetworkManager * fetchurljson fetchurltimeout fetchurljsontimeout special fetch url functions with various connects and functions to be called * operate on fetched data in the correct thread * operate on fetched resources in correct thread * networkmanager urlfetch functions * expose urlfetch functions of networkmanager through util and util::twitch * add caller to util functions * cleanup * formatting * urlPut function for NetworkManager and util::twitch * cleanup worker (no more leak) * use urlfetch for LazyLoadedImage::loadImage * Rename NetworkManager methods (#1) * Rename NetworkManager methods Remove unused NetworkManager methods Remove unused NetworkManager includes Reorder includes in lazyloadedimage.cpp and urlfetch.hpp * try to simplify code, might break everything * fixed some more stuff?
This commit is contained in:
+3
-3
@@ -97,7 +97,7 @@ SOURCES += \
|
||||
src/widgets/rippleeffectlabel.cpp \
|
||||
src/widgets/rippleeffectbutton.cpp \
|
||||
src/messages/messagecolor.cpp \
|
||||
src/messages/imageloadermanager.cpp
|
||||
src/util/networkmanager.cpp
|
||||
|
||||
HEADERS += \
|
||||
src/asyncexec.hpp \
|
||||
@@ -164,8 +164,8 @@ HEADERS += \
|
||||
src/messages/messagecolor.hpp \
|
||||
src/util/nativeeventhelper.hpp \
|
||||
src/debug/log.hpp \
|
||||
src/messages/imageloadermanager.hpp \
|
||||
src/util/benchmark.hpp
|
||||
src/util/benchmark.hpp \
|
||||
src/util/networkmanager.hpp
|
||||
|
||||
PRECOMPILED_HEADER =
|
||||
|
||||
|
||||
Reference in New Issue
Block a user