diff options
Diffstat (limited to 'indra/llmessage/message.h')
-rw-r--r--[-rwxr-xr-x] | indra/llmessage/message.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/llmessage/message.h b/indra/llmessage/message.h index a6fabf2126..681de441ce 100755..100644 --- a/indra/llmessage/message.h +++ b/indra/llmessage/message.h @@ -50,7 +50,6 @@ #include "lltimer.h" #include "llpacketring.h" #include "llhost.h" -#include "llcurl.h" #include "llhttpnode.h" //#include "llpacketack.h" #include "llsingleton.h" @@ -60,6 +59,7 @@ #include "llmessagesenderinterface.h" #include "llstoredmessage.h" +#include "boost/function.hpp" #include "llpounceable.h" const U32 MESSAGE_MAX_STRINGS_LENGTH = 64; @@ -490,7 +490,6 @@ public: void (*callback)(void **,S32), void ** callback_data); - LLCurl::ResponderPtr createResponder(const std::string& name); S32 sendMessage(const LLHost &host); S32 sendMessage(const U32 circuit); private: @@ -741,6 +740,9 @@ public: void receivedMessageFromTrustedSender(); private: + typedef boost::function<void(S32)> UntrustedCallback_t; + void sendUntrustedSimulatorMessageCoro(std::string url, std::string message, LLSD body, UntrustedCallback_t callback); + bool mLastMessageFromTrustedMessageService; |