LLURLDispatcherImpl Class Reference

List of all members.

Static Public Member Functions

static bool isSLURL (const std::string &url)
static bool isSLURLCommand (const std::string &url)
static bool dispatch (const std::string &url, bool from_external_browser)
static bool dispatchRightClick (const std::string &url)

Static Private Member Functions

static bool dispatchCore (const std::string &url, bool from_external_browser, bool right_mouse)
static bool dispatchHelp (const std::string &url, BOOL right_mouse)
static bool dispatchApp (const std::string &url, bool from_external_browser, BOOL right_mouse)
static bool dispatchRegion (const std::string &url, BOOL right_mouse)
static void regionHandleCallback (U64 handle, const std::string &url, const LLUUID &snapshot_id, bool teleport)
static void regionNameCallback (U64 handle, const std::string &url, const LLUUID &snapshot_id, bool teleport)
static bool matchPrefix (const std::string &url, const std::string &prefix)
static std::string stripProtocol (const std::string &url)

Friends

class LLTeleportHandler


Detailed Description

Definition at line 60 of file llurldispatcher.cpp.


Member Function Documentation

bool LLURLDispatcherImpl::isSLURL ( const std::string &  url  )  [static]

Definition at line 108 of file llurldispatcher.cpp.

References matchPrefix(), SLURL_SECONDLIFE_PREFIX, SLURL_SL_HELP_PREFIX, SLURL_SL_PREFIX, and SLURL_SLURL_PREFIX.

Referenced by dispatchApp(), dispatchRegion(), and LLURLDispatcher::isSLURL().

Here is the call graph for this function:

Here is the caller graph for this function:

bool LLURLDispatcherImpl::isSLURLCommand ( const std::string &  url  )  [static]

Definition at line 118 of file llurldispatcher.cpp.

References matchPrefix(), SLURL_APP_TOKEN, SLURL_SECONDLIFE_PREFIX, SLURL_SL_PREFIX, and SLURL_SLURL_PREFIX.

Referenced by LLURLDispatcher::isSLURLCommand().

Here is the call graph for this function:

Here is the caller graph for this function:

bool LLURLDispatcherImpl::dispatch ( const std::string &  url,
bool  from_external_browser 
) [static]

Definition at line 148 of file llurldispatcher.cpp.

References dispatchCore(), llendl, and llinfos.

Referenced by LLURLDispatcher::dispatch(), and LLURLDispatcher::dispatchFromTextEditor().

Here is the call graph for this function:

Here is the caller graph for this function:

bool LLURLDispatcherImpl::dispatchRightClick ( const std::string &  url  )  [static]

Definition at line 156 of file llurldispatcher.cpp.

References dispatchCore(), llendl, and llinfos.

Referenced by LLURLDispatcher::dispatchRightClick().

Here is the call graph for this function:

Here is the caller graph for this function:

bool LLURLDispatcherImpl::dispatchCore ( const std::string &  url,
bool  from_external_browser,
bool  right_mouse 
) [static, private]

Definition at line 130 of file llurldispatcher.cpp.

References dispatchApp(), dispatchHelp(), and dispatchRegion().

Referenced by dispatch(), and dispatchRightClick().

Here is the call graph for this function:

Here is the caller graph for this function:

bool LLURLDispatcherImpl::dispatchHelp ( const std::string &  url,
BOOL  right_mouse 
) [static, private]

Definition at line 164 of file llurldispatcher.cpp.

References gViewerHtmlHelp, matchPrefix(), LLViewerHtmlHelp::show(), and SLURL_SL_HELP_PREFIX.

Referenced by dispatchCore().

Here is the call graph for this function:

Here is the caller graph for this function:

bool LLURLDispatcherImpl::dispatchApp ( const std::string &  url,
bool  from_external_browser,
BOOL  right_mouse 
) [static, private]

Definition at line 175 of file llurldispatcher.cpp.

References LLCommandDispatcher::dispatch(), LLSD::erase(), LLSD::get(), isSLURL(), LLURI::pathArray(), and LLURI::queryMap().

Referenced by dispatchCore().

Here is the call graph for this function:

Here is the caller graph for this function:

bool LLURLDispatcherImpl::dispatchRegion ( const std::string &  url,
BOOL  right_mouse 
) [static, private]

void LLURLDispatcherImpl::regionHandleCallback ( U64  handle,
const std::string &  url,
const LLUUID snapshot_id,
bool  teleport 
) [static, private]

void LLURLDispatcherImpl::regionNameCallback ( U64  handle,
const std::string &  url,
const LLUUID snapshot_id,
bool  teleport 
) [static, private]

Definition at line 235 of file llurldispatcher.cpp.

References from_region_handle(), LLSingleton< LLWorldMap >::getInstance(), LLVector3::mV, LLURLSimString::parse(), REGION_WIDTH_UNITS, regionHandleCallback(), S32, LLWorldMap::sendHandleRegionRequest(), stripProtocol(), to_region_handle(), VX, VY, and VZ.

Referenced by dispatchRegion().

Here is the call graph for this function:

Here is the caller graph for this function:

bool LLURLDispatcherImpl::matchPrefix ( const std::string &  url,
const std::string &  prefix 
) [static, private]

Definition at line 324 of file llurldispatcher.cpp.

References LLStringBase< char >::toLower().

Referenced by dispatchHelp(), isSLURL(), isSLURLCommand(), and stripProtocol().

Here is the call graph for this function:

Here is the caller graph for this function:

std::string LLURLDispatcherImpl::stripProtocol ( const std::string &  url  )  [static, private]

Definition at line 332 of file llurldispatcher.cpp.

References matchPrefix(), SLURL_SECONDLIFE_PREFIX, SLURL_SL_HELP_PREFIX, SLURL_SL_PREFIX, and SLURL_SLURL_PREFIX.

Referenced by dispatchRegion(), regionHandleCallback(), and regionNameCallback().

Here is the call graph for this function:

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class LLTeleportHandler [friend]

Definition at line 104 of file llurldispatcher.cpp.


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

Generated on Fri May 16 09:20:35 2008 for SecondLife by  doxygen 1.5.5