summaryrefslogtreecommitdiff
path: root/indra/newview/llfacebookconnect.h
diff options
context:
space:
mode:
authorRider Linden <none@none>2015-04-16 17:01:10 -0700
committerRider Linden <none@none>2015-04-16 17:01:10 -0700
commitc4bcc83336c623b97e982443ce2f91d82d1a187d (patch)
tree64a19ba7680f643dff4f61f12d0e7621546fcac8 /indra/newview/llfacebookconnect.h
parent0d302e692fd25e5dd7a37b5ac4c9d14f3e5d470d (diff)
Facebook conversion.
Diffstat (limited to 'indra/newview/llfacebookconnect.h')
-rw-r--r--indra/newview/llfacebookconnect.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/llfacebookconnect.h b/indra/newview/llfacebookconnect.h
index c157db2178..f569c2f486 100644
--- a/indra/newview/llfacebookconnect.h
+++ b/indra/newview/llfacebookconnect.h
@@ -30,6 +30,8 @@
#include "llsingleton.h"
#include "llimage.h"
+#include "llcoros.h"
+#include "lleventcoro.h"
class LLEventPump;
@@ -101,6 +103,15 @@ private:
static boost::scoped_ptr<LLEventPump> sStateWatcher;
static boost::scoped_ptr<LLEventPump> sInfoWatcher;
static boost::scoped_ptr<LLEventPump> sContentWatcher;
+
+ bool testShareStatus(LLSD &results);
+ void facebookConnectCoro(LLCoros::self& self, std::string authCode, std::string authState);
+ void facebookConnectedCheckCoro(LLCoros::self& self, bool autoConnect);
+ void facebookDisconnectCoro(LLCoros::self& self);
+ void facebookShareCoro(LLCoros::self& self, std::string route, LLSD share);
+ void facebookShareImageCoro(LLCoros::self& self, std::string route, LLPointer<LLImageFormatted> image, std::string caption);
+ void facebookConnectInfoCoro(LLCoros::self& self);
+ void facebookConnectFriendsCoro(LLCoros::self& self);
};
#endif // LL_LLFACEBOOKCONNECT_H