21 #ifndef GNASH_LOADVARIABLESTHREAD_H
22 #define GNASH_LOADVARIABLESTHREAD_H
51 typedef std::map<std::string, std::string>
ValuesMap;
77 const std::string& postdata);
100 void startThread(std::unique_ptr<IOChannel> stream);
106 static ValuesMap completeLoad(std::unique_ptr<IOChannel> stream,
107 const std::atomic<int8_t>& status);
112 std::atomic<int8_t> _status;
117 #endif // GNASH_LOADVARIABLESTHREAD_H
Status
Definition: LoadVariablesThread.h:53
LoadVariablesThread(const StreamProvider &sp, const URL &url)
Construct a LoadVariablesThread opening a stream for the given URL.
Definition: LoadVariablesThread.cpp:137
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:40
std::map< std::string, std::string > ValuesMap
Definition: LoadVariablesThread.h:51
ValuesMap getValues()
Return the name,value map parsed out of the loaded stream.
Definition: LoadVariablesThread.h:83
A manager for loadVariable requests.
Definition: LoadVariablesThread.h:48
bool completed()
Definition: LoadVariablesThread.h:89
~LoadVariablesThread()
Destroy the LoadVariablesThread, joining the thread if spawned.
Definition: LoadVariablesThread.cpp:157
std::string url
Definition: gnash.cpp:59
A StreamProvider makes IOChannels available to the core on request.
Definition: StreamProvider.h:49
Definition: LoadVariablesThread.h:41
Uniform Resource Locator.
Definition: URL.h:34