Modified LLUserAuth to use LLSD when parsing login response parameters. Will facilitate easy wholesale replacement with LLLoginInstance in the future.

This commit is contained in:
Shyotl
2012-03-30 09:51:30 -05:00
parent 0453971a85
commit e7bcf1e9ec
11 changed files with 656 additions and 748 deletions

View File

@@ -52,7 +52,7 @@ public:
void add(LLEventInfo &event_info); // Add a new notification for an event
void add(U32 eventId);
void load(const LLUserAuth::options_t& event_options); // In the format that it comes in from LLUserAuth
void load(const LLSD& event_options); // In the format that it comes in from login
void remove(U32 event_id);
BOOL hasNotification(const U32 event_id);
@@ -73,7 +73,7 @@ public:
LLEventNotification();
virtual ~LLEventNotification();
BOOL load(const LLUserAuth::response_t &en); // In the format it comes in from LLUserAuth
BOOL load(const LLSD& en); // In the format it comes in from LLUserAuth
BOOL load(const LLEventInfo &event_info); // From existing event_info on the viewer.
//void setEventID(const U32 event_id);
//void setEventName(std::string &event_name);