diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/llmessage/llservicebuilder.h | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llmessage/llservicebuilder.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/linden/indra/llmessage/llservicebuilder.h b/linden/indra/llmessage/llservicebuilder.h index f19ba9a..ce95488 100644 --- a/linden/indra/llmessage/llservicebuilder.h +++ b/linden/indra/llmessage/llservicebuilder.h | |||
@@ -38,11 +38,24 @@ | |||
38 | 38 | ||
39 | class LLSD; | 39 | class LLSD; |
40 | 40 | ||
41 | /** | ||
42 | * @brief Format format string according to rules for RUSS. | ||
43 | * | ||
44 | * This function appears alongside the service builder since the | ||
45 | * algorithm was originally implemented there. This can eventually be | ||
46 | * moved when someone wants to take the time. | ||
47 | * @see https://osiris.lindenlab.com/mediawiki/index.php/Recursive_URL_Substitution_Syntax | ||
48 | * @param format_str The input string to format. | ||
49 | * @param context A map used for string substitutions. | ||
50 | * @return Returns the formatted string. If no match is found for a | ||
51 | * substitution target, the braces remain intact. | ||
52 | */ | ||
53 | std::string russ_format(const std::string& format_str, const LLSD& context); | ||
54 | |||
41 | /** | 55 | /** |
42 | * @class LLServiceBuilder | 56 | * @class LLServiceBuilder |
43 | * @brief This class builds urls for us to use when making web service calls. | 57 | * @brief This class builds urls for us to use when making web service calls. |
44 | */ | 58 | */ |
45 | |||
46 | class LLServiceBuilder | 59 | class LLServiceBuilder |
47 | { | 60 | { |
48 | LOG_CLASS(LLServiceBuilder); | 61 | LOG_CLASS(LLServiceBuilder); |