tbx  0.7.5
Public Types | Public Member Functions | Static Public Member Functions | List of all members
tbx::URI Class Reference

Class to take a URI and dispatch it to the Wimp for processing. More...

#include <uri.h>

Inheritance diagram for tbx::URI:
tbx::WimpRecordedMessageListener

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 ()
 

Detailed Description

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.


The documentation for this class was generated from the following file: