diff options
author | callum <none@none> | 2009-12-28 13:45:57 -0800 |
---|---|---|
committer | callum <none@none> | 2009-12-28 13:45:57 -0800 |
commit | 3519435bbfeec4c838d5ffbe008d0ac7bbc085a8 (patch) | |
tree | 5d590d84a1fa6c8414adba0732a83a67a440dd37 /indra/newview/llimview.h | |
parent | dd1fb1568e85a8e3622372cae21bcd3205051718 (diff) | |
parent | 6008bf61b2d0475a274ad2b851b61e69496b5bf8 (diff) |
Merge with (specific revision) and head
Diffstat (limited to 'indra/newview/llimview.h')
-rw-r--r-- | indra/newview/llimview.h | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/indra/newview/llimview.h b/indra/newview/llimview.h index 3f46b0d754..cec9d1642f 100644 --- a/indra/newview/llimview.h +++ b/indra/newview/llimview.h @@ -75,6 +75,8 @@ public: static void chatFromLogFile(LLLogChat::ELogLineType type, const LLSD& msg, void* userdata); bool isAdHoc(); + bool isP2P(); + bool isOtherParticipantAvaline(); LLUUID mSessionID; std::string mName; @@ -486,7 +488,18 @@ public: virtual BOOL postBuild(); + // check timer state + /*virtual*/ void draw(); + protected: + // lifetime timer for a notification + LLTimer mLifetimeTimer; + // notification's lifetime in seconds + S32 mLifetime; + static const S32 DEFAULT_LIFETIME = 5; + virtual bool lifetimeHasExpired() {return false;}; + virtual void onLifetimeExpired() {}; + virtual void getAllowedRect(LLRect& rect); LLSD mPayload; }; @@ -504,6 +517,8 @@ public: static void onStartIM(void* user_data); private: + /*virtual*/ bool lifetimeHasExpired(); + /*virtual*/ void onLifetimeExpired(); void processCallResponse(S32 response); }; @@ -518,19 +533,11 @@ public: static void onCancel(void* user_data); static const LLUUID OCD_KEY; - // check timer state - /*virtual*/ void draw(); - private: - // hide all text boxes void hideAllText(); - // lifetime timer for NO_ANSWER notification - LLTimer mLifetimeTimer; - // lifetime duration for NO_ANSWER notification - static const S32 LIFETIME = 5; - bool lifetimeHasExpired(); - void onLifetimeExpired(); + /*virtual*/ bool lifetimeHasExpired(); + /*virtual*/ void onLifetimeExpired(); }; // Globals |