summaryrefslogtreecommitdiff
path: root/indra/newview/llagent.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-06-29 23:53:22 +0300
committerakleshchev <117672381+akleshchev@users.noreply.github.com>2023-08-21 19:51:04 +0300
commit0b85c05f8eefc79315c5695531335ec76a7504d2 (patch)
tree203f36d1d4ce03ac294bc203b44831b8250ff8b0 /indra/newview/llagent.h
parent311f62f4fa9d4094bb33f99194ed04b8217fe603 (diff)
SL-20145 New inventory feature notification
Pulled in relevant parts from SL-19929
Diffstat (limited to 'indra/newview/llagent.h')
-rw-r--r--indra/newview/llagent.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/indra/newview/llagent.h b/indra/newview/llagent.h
index 498bea3c07..0ce6fda131 100644
--- a/indra/newview/llagent.h
+++ b/indra/newview/llagent.h
@@ -117,15 +117,20 @@ private:
//--------------------------------------------------------------------
public:
void onAppFocusGained();
- void setFirstLogin(BOOL b) { mFirstLogin = b; }
+ void setFirstLogin(bool b);
// Return TRUE if the database reported this login as the first for this particular user.
- BOOL isFirstLogin() const { return mFirstLogin; }
- BOOL isInitialized() const { return mInitialized; }
+ bool isFirstLogin() const { return mFirstLogin; }
+ bool isInitialized() const { return mInitialized; }
+
+ void setFeatureVersion(S32 version, S32 flags);
+ S32 getFeatureVersion();
+ void getFeatureVersionAndFlags(S32 &version, S32 &flags);
+ void showLatestFeatureNotification(const std::string key);
public:
std::string mMOTD; // Message of the day
private:
- BOOL mInitialized;
- BOOL mFirstLogin;
+ bool mInitialized;
+ bool mFirstLogin;
boost::shared_ptr<LLAgentListener> mListener;
//--------------------------------------------------------------------