SL-821: Try to add SecondLife.log file to Mac BugSplat crash report.
Introduce new header file llappviewermacosx-for-objc.h to publish for llappdelegate-objc.mm and other Objective-C++ consumers the free functions in llappviewermacosx.cpp they consume. These were never before declared in any header file. Apparently, to date, we've been trusting to luck that Objective-C++ will infer the correct signature from calls -- and that the calls are correct with respect to the function definitions. :-P This gives us a place to introduce a new getLogFilePathname() function to query LLDir. (We don't simply #include "lldir.h" because of the pervasive use of BOOL in viewer headers; BOOL means something very different in Objective-C++.)
Showing
- indra/newview/llappdelegate-objc.mm 11 additions, 6 deletionsindra/newview/llappdelegate-objc.mm
- indra/newview/llappviewermacosx-for-objc.h 34 additions, 0 deletionsindra/newview/llappviewermacosx-for-objc.h
- indra/newview/llappviewermacosx.cpp 6 additions, 0 deletionsindra/newview/llappviewermacosx.cpp
indra/newview/llappviewermacosx-for-objc.h
0 → 100644
Please register or sign in to comment