diff options
author | Jacek Antonelli | 2009-09-04 01:56:20 -0500 |
---|---|---|
committer | Jacek Antonelli | 2009-09-04 03:39:51 -0500 |
commit | 89a510de10c48ebcf82b98a962e4bf66477dcc93 (patch) | |
tree | d30f79f433badffe36a67fc155e70a0e29dd2dc4 /linden/indra/newview/rlvfloaterbehaviour.h | |
parent | Backported 1.23 fix for animation joint assertion crash. (diff) | |
download | meta-impy-89a510de10c48ebcf82b98a962e4bf66477dcc93.zip meta-impy-89a510de10c48ebcf82b98a962e4bf66477dcc93.tar.gz meta-impy-89a510de10c48ebcf82b98a962e4bf66477dcc93.tar.bz2 meta-impy-89a510de10c48ebcf82b98a962e4bf66477dcc93.tar.xz |
Applied Kitty Barnett's RLVa 1.0.1h (Restrained Life) patch.
Made a few non-functional changes to help it apply.
Diffstat (limited to 'linden/indra/newview/rlvfloaterbehaviour.h')
-rw-r--r-- | linden/indra/newview/rlvfloaterbehaviour.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/linden/indra/newview/rlvfloaterbehaviour.h b/linden/indra/newview/rlvfloaterbehaviour.h new file mode 100644 index 0000000..1410dd5 --- /dev/null +++ b/linden/indra/newview/rlvfloaterbehaviour.h | |||
@@ -0,0 +1,49 @@ | |||
1 | #ifndef RLV_FLOATER_BEHAVIOUR | ||
2 | #define RLV_FLOATER_BEHAVIOUR | ||
3 | |||
4 | #include "llfloater.h" | ||
5 | #include "rlvevent.h" | ||
6 | |||
7 | // ============================================================================ | ||
8 | |||
9 | class RlvFloaterBehaviour : | ||
10 | public LLFloater, | ||
11 | public LLFloaterSingleton<RlvFloaterBehaviour>, | ||
12 | public RlvBehaviourObserver | ||
13 | { | ||
14 | friend class LLUISingleton<RlvFloaterBehaviour, VisibilityPolicy<LLFloater> >; | ||
15 | public: | ||
16 | virtual ~RlvFloaterBehaviour() {} | ||
17 | |||
18 | /* | ||
19 | * LLFloater overrides | ||
20 | */ | ||
21 | public: | ||
22 | /*virtual*/ BOOL canClose(); | ||
23 | /*virtual*/ void onOpen(); | ||
24 | /*virtual*/ void onClose(bool app_quitting); | ||
25 | /*virtual*/ BOOL postBuild(); | ||
26 | |||
27 | /* | ||
28 | * RlvBehaviourObserver overrides | ||
29 | */ | ||
30 | public: | ||
31 | /*virtual*/ void changed(const RlvCommand& rlvCmd, bool fInternal); | ||
32 | |||
33 | /* | ||
34 | * Member functions | ||
35 | */ | ||
36 | public: | ||
37 | static void show(void*); | ||
38 | static void onAvatarNameLookup(const LLUUID& uuid, const std::string& strFirst, const std::string& strLast, BOOL fGroup, void* pParam); | ||
39 | protected: | ||
40 | void refreshAll(); | ||
41 | private: | ||
42 | RlvFloaterBehaviour(const LLSD& key = LLSD()); | ||
43 | |||
44 | std::list<LLUUID> m_PendingLookup; | ||
45 | }; | ||
46 | |||
47 | // ============================================================================ | ||
48 | |||
49 | #endif // RLV_FLOATER_BEHAVIOUR | ||