summaryrefslogtreecommitdiff
path: root/indra/newview/llfacebookconnect.h
diff options
context:
space:
mode:
authorCho <cho@lindenlab.com>2013-07-04 01:29:54 +0100
committerCho <cho@lindenlab.com>2013-07-04 01:29:54 +0100
commitad8aeecb8331ca68eef9a12536c80a4658885ccb (patch)
tree6148fe3c447015dfc2a46aaad685c91140913311 /indra/newview/llfacebookconnect.h
parent1dbabed6b5bac8a0fcc1d9a70522eb726e01bae7 (diff)
Added auto-connect upon 404 from a POST in LLFacebookConnect, and added FB_POSTED state, for ACME-667
Diffstat (limited to 'indra/newview/llfacebookconnect.h')
-rw-r--r--indra/newview/llfacebookconnect.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llfacebookconnect.h b/indra/newview/llfacebookconnect.h
index ddff87385e..b37c713ae5 100644
--- a/indra/newview/llfacebookconnect.h
+++ b/indra/newview/llfacebookconnect.h
@@ -50,7 +50,8 @@ public:
FB_CONNECTED = 2,
FB_CONNECTION_FAILED = 3,
FB_POSTING = 4,
- FB_POST_FAILED = 5
+ FB_POSTED = 5,
+ FB_POST_FAILED = 6
};
typedef boost::function<void(bool ok)> share_callback_t;
@@ -76,7 +77,7 @@ public:
const LLSD& getContent() const;
void setConnectionState(EConnectionState connection_state);
- bool isConnected() { return ((mConnectionState == FB_CONNECTED) || (mConnectionState == FB_POSTING)); }
+ bool isConnected() { return ((mConnectionState == FB_CONNECTED) || (mConnectionState == FB_POSTING) || (mConnectionState == FB_POSTED)); }
EConnectionState getConnectionState() { return mConnectionState; }
S32 generation() { return mGeneration; }