summaryrefslogtreecommitdiff
path: root/indra/newview/llfacebookconnect.h
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2013-06-14 20:11:14 -0700
committerMerov Linden <merov@lindenlab.com>2013-06-14 20:11:14 -0700
commit3910ce512fb8092ceb77e8b44729bff46b93212c (patch)
tree38e3d8888382cf84ec9706feac06b1f3f0879d5a /indra/newview/llfacebookconnect.h
parent2eb466908e8056f9b890d06d449ad8d10d3ff4cf (diff)
parent37dcc335321fb7a16b99fe4f159aa68ad8ec5d76 (diff)
Merge with viewer-fbc
Diffstat (limited to 'indra/newview/llfacebookconnect.h')
-rw-r--r--indra/newview/llfacebookconnect.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llfacebookconnect.h b/indra/newview/llfacebookconnect.h
index e719314920..a19b6fbb98 100644
--- a/indra/newview/llfacebookconnect.h
+++ b/indra/newview/llfacebookconnect.h
@@ -50,6 +50,7 @@ public:
};
typedef boost::function<void(bool ok)> share_callback_t;
+ typedef boost::function<void()> content_updated_callback_t;
void connectToFacebook(const std::string& auth_code = ""); // Initiate the complete FB connection. Please use getConnectionToFacebook() in normal use.
void disconnectFromFacebook(); // Disconnect from the FBC service.
@@ -64,6 +65,7 @@ public:
void setPostCheckinCallback(share_callback_t cb) { mPostCheckinCallback = cb; }
void setSharePhotoCallback(share_callback_t cb) { mSharePhotoCallback = cb; }
void setUpdateStatusCallback(share_callback_t cb) { mUpdateStatusCallback = cb; }
+ void setContentUpdatedCallback(content_updated_callback_t cb) { mContentUpdatedCallback = cb;}
void clearContent();
void storeContent(const LLSD& content);
@@ -89,6 +91,7 @@ private:
share_callback_t mPostCheckinCallback;
share_callback_t mSharePhotoCallback;
share_callback_t mUpdateStatusCallback;
+ content_updated_callback_t mContentUpdatedCallback;
};
#endif // LL_LLFACEBOOKCONNECT_H