diff --git a/indra/newview/lfsimfeaturehandler.cpp b/indra/newview/lfsimfeaturehandler.cpp index 5613da8f5..f27c90773 100644 --- a/indra/newview/lfsimfeaturehandler.cpp +++ b/indra/newview/lfsimfeaturehandler.cpp @@ -68,3 +68,8 @@ boost::signals2::connection LFSimFeatureHandler::setSupportsExportCallback(const return mSupportsExport.connect(slot); } +boost::signals2::connection LFSimFeatureHandler::setSearchURLCallback(const boost::signals2::signal::slot_type& slot) +{ + return mSearchURL.connect(slot); +} + diff --git a/indra/newview/lfsimfeaturehandler.h b/indra/newview/lfsimfeaturehandler.h index b105a636b..83acdd95a 100644 --- a/indra/newview/lfsimfeaturehandler.h +++ b/indra/newview/lfsimfeaturehandler.h @@ -58,6 +58,7 @@ public: // Connection setters boost::signals2::connection setSupportsExportCallback(const boost::signals2::signal::slot_type& slot); + boost::signals2::connection setSearchURLCallback(const boost::signals2::signal::slot_type& slot); // Accessors bool simSupportsExport() const { return mSupportsExport; } @@ -68,7 +69,7 @@ private: // SignaledTypes SignaledType mSupportsExport; std::string mMapServerURL; - std::string mSearchURL; + SignaledType mSearchURL; }; #endif //LFSIMFEATUREHANDLER_H