summaryrefslogtreecommitdiff
path: root/indra/newview/llfacebookconnect.h
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2013-05-10 18:25:45 -0700
committerMerov Linden <merov@lindenlab.com>2013-05-10 18:25:45 -0700
commit7c4bfc8f55ebc581ddac0c2394b07b24d240d1a6 (patch)
tree2a37db62b8de474d3ae077966e9f9774ec4342fa /indra/newview/llfacebookconnect.h
parentf90d93f75da6481dc1b308dfb76dd767e7623ea5 (diff)
ACME-348 : Completed : Facebook Connect refactored, LLPeoplePanel test list hooked correctly.
Diffstat (limited to 'indra/newview/llfacebookconnect.h')
-rw-r--r--indra/newview/llfacebookconnect.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/indra/newview/llfacebookconnect.h b/indra/newview/llfacebookconnect.h
index c42d8c8edc..691aaa9131 100644
--- a/indra/newview/llfacebookconnect.h
+++ b/indra/newview/llfacebookconnect.h
@@ -40,24 +40,21 @@ class LLFacebookConnect : public LLSingleton<LLFacebookConnect>
{
LOG_CLASS(LLFacebookConnect);
public:
- /*
- * Performs initial setup, by requesting config data from the web service if
- * it has not already been received.
- */
- void init();
-
- void loadFacebookFriends();
- void hideFacebookFriends();
void connectToFacebook(const std::string& auth_code = "");
void disconnectFromFacebook();
void tryToReconnectToFacebook();
void getConnectionToFacebook();
- void showFacebookFriends(const LLSD& friends);
+ void loadFacebookFriends();
+
+ void clearContent();
+ void storeContent(const LLSD& content);
+ const LLSD& getContent() const;
void setConnected(bool connected) { mConnectedToFbc = connected; }
bool getConnected() { return mConnectedToFbc; }
-
+ S32 generation() { return mGeneration; }
+
private:
friend class LLSingleton<LLFacebookConnect>;
@@ -67,6 +64,8 @@ private:
std::string getFacebookConnectURL(const std::string& route = "");
bool mConnectedToFbc;
+ LLSD mContent;
+ S32 mGeneration;
};
#endif // LL_LLFACEBOOKCONNECT_H