diff options
author | Cho <cho@lindenlab.com> | 2013-07-03 01:38:30 +0100 |
---|---|---|
committer | Cho <cho@lindenlab.com> | 2013-07-03 01:38:30 +0100 |
commit | b070533bdaa78fb2d94ec49a2ea3d9a9ada3d437 (patch) | |
tree | 59c17a38ac8343e27d247a44f82ee3b1644feff4 /indra/newview/llfacebookconnect.h | |
parent | eef8579dd7f9af558041d4d3a4b4aeb39bf280a1 (diff) |
added FB_POSTING and PB_POST_FAILED states to LLFacebookConnect for ACME-663
Diffstat (limited to 'indra/newview/llfacebookconnect.h')
-rw-r--r-- | indra/newview/llfacebookconnect.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/llfacebookconnect.h b/indra/newview/llfacebookconnect.h index 4e95fc3545..7d6bca5a25 100644 --- a/indra/newview/llfacebookconnect.h +++ b/indra/newview/llfacebookconnect.h @@ -48,7 +48,9 @@ public: FB_NOT_CONNECTED = 0, FB_CONNECTION_IN_PROGRESS = 1, FB_CONNECTED = 2, - FB_CONNECTION_FAILED = 3 + FB_CONNECTION_FAILED = 3, + FB_POSTING = 4, + FB_POST_FAILED = 5 }; typedef boost::function<void(bool ok)> share_callback_t; @@ -74,7 +76,7 @@ public: const LLSD& getContent() const; void setConnectionState(EConnectionState connection_state); - bool isConnected() { return (mConnectionState == FB_CONNECTED); } + bool isConnected() { return ((mConnectionState == FB_CONNECTED) || (mConnectionState == FB_POSTING)); } S32 generation() { return mGeneration; } void openFacebookWeb(std::string url); |