diff options
Diffstat (limited to 'linden/indra/newview/llfloatergroups.h')
-rw-r--r-- | linden/indra/newview/llfloatergroups.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/linden/indra/newview/llfloatergroups.h b/linden/indra/newview/llfloatergroups.h index 8d118e4..3ceb1bd 100644 --- a/linden/indra/newview/llfloatergroups.h +++ b/linden/indra/newview/llfloatergroups.h | |||
@@ -53,9 +53,9 @@ class LLScrollListCtrl; | |||
53 | class LLButton; | 53 | class LLButton; |
54 | class LLFloaterGroupPicker; | 54 | class LLFloaterGroupPicker; |
55 | 55 | ||
56 | class LLFloaterGroupPicker : public LLFloater, public LLUIInstanceMgr<LLFloaterGroupPicker> | 56 | class LLFloaterGroupPicker : public LLFloater, public LLUIFactory<LLFloaterGroupPicker, LLFloaterGroupPicker, VisibilityPolicy<LLFloater> > |
57 | { | 57 | { |
58 | friend class LLUIInstanceMgr<LLFloaterGroupPicker>; | 58 | friend class LLUIFactory<LLFloaterGroupPicker>; |
59 | public: | 59 | public: |
60 | ~LLFloaterGroupPicker(); | 60 | ~LLFloaterGroupPicker(); |
61 | void setSelectCallback( void (*callback)(LLUUID, void*), | 61 | void setSelectCallback( void (*callback)(LLUUID, void*), |
@@ -63,11 +63,13 @@ public: | |||
63 | void setPowersMask(U64 powers_mask); | 63 | void setPowersMask(U64 powers_mask); |
64 | BOOL postBuild(); | 64 | BOOL postBuild(); |
65 | 65 | ||
66 | // implementation of factory policy | ||
67 | static LLFloaterGroupPicker* findInstance(const LLSD& seed); | ||
68 | static LLFloaterGroupPicker* createInstance(const LLSD& seed); | ||
69 | |||
66 | protected: | 70 | protected: |
67 | LLFloaterGroupPicker(const LLSD& seed); | 71 | LLFloaterGroupPicker(const LLSD& seed); |
68 | void ok(); | 72 | void ok(); |
69 | static LLFloaterGroupPicker* findInstance(const LLSD& seed); | ||
70 | static LLFloaterGroupPicker* createInstance(const LLSD& seed); | ||
71 | static void onBtnOK(void* userdata); | 73 | static void onBtnOK(void* userdata); |
72 | static void onBtnCancel(void* userdata); | 74 | static void onBtnCancel(void* userdata); |
73 | 75 | ||