tbx
0.7.5
|
Class to take a URI and dispatch it to the Wimp for processing. More...
#include <uri.h>
Public Types | |
enum | State { NotDispatched, Dispatched, DispatchError, WaitingForResult, Claimed, NotClaimed } |
Public Member Functions | |
URI (const std::string &uri) | |
void | uri (const std::string &new_uri) |
bool | dispatch () |
bool | check () |
void | set_result_handler (URIResultHandler *handler) |
State | state () const |
Static Public Member Functions | |
static int | version () |
static bool | dispatch (const std::string &uri) |
static bool | ensure_uri_handler () |
static bool | uri_handler_started () |
Class to take a URI and dispatch it to the Wimp for processing.
To use successfully the AcornURI module must be loaded and started. Either add the correct field to the !Run file or use the method ensure_uri_handler in this class.