MAINT-5232: Extract LLInitClass, LLDestroyClass from llui/llui.h
to a new llcommon/llinitdestroyclass.h. This mechanism is so general -- but has so many related moving parts -- that (a) it deserves to be in a header file all its own, instead of conflated with llui.h, and (b) it should be in llcommon where anyone can use it. It has no dependencies whatsoever on llui or anything viewer-specific. In this very changeset we changed one #include "llui.h" whose comment admits that it was only dragged in for LLDestroyClass.
Showing
- indra/llcommon/CMakeLists.txt 1 addition, 0 deletionsindra/llcommon/CMakeLists.txt
- indra/llcommon/llinitdestroyclass.h 134 additions, 0 deletionsindra/llcommon/llinitdestroyclass.h
- indra/llui/llspellcheck.h 1 addition, 0 deletionsindra/llui/llspellcheck.h
- indra/llui/llui.h 0 additions, 89 deletionsindra/llui/llui.h
- indra/newview/llagentwearables.h 1 addition, 0 deletionsindra/newview/llagentwearables.h
- indra/newview/llfavoritesbar.h 1 addition, 0 deletionsindra/newview/llfavoritesbar.h
- indra/newview/llhints.h 1 addition, 0 deletionsindra/newview/llhints.h
- indra/newview/llimview.h 1 addition, 0 deletionsindra/newview/llimview.h
- indra/newview/llnavigationbar.h 1 addition, 0 deletionsindra/newview/llnavigationbar.h
- indra/newview/llpaneltopinfobar.h 1 addition, 0 deletionsindra/newview/llpaneltopinfobar.h
- indra/newview/llsearchhistory.h 1 addition, 0 deletionsindra/newview/llsearchhistory.h
- indra/newview/llsyswellwindow.h 1 addition, 0 deletionsindra/newview/llsyswellwindow.h
- indra/newview/llviewerinventory.h 1 addition, 1 deletionindra/newview/llviewerinventory.h
Loading
Please register or sign in to comment