diff options
author | Aleric Inglewood | 2010-11-07 16:55:50 +0100 |
---|---|---|
committer | Aleric Inglewood | 2010-11-07 18:27:48 +0100 |
commit | 5b4356cefbaa7dbdc8656e7283c110a893b1a89c (patch) | |
tree | 43fae9945562c3281746370d623877840ed884b2 /linden/indra/llwindow | |
parent | IMP-688: ERROR: getString: Invalid string control nick01 (diff) | |
download | meta-impy-5b4356cefbaa7dbdc8656e7283c110a893b1a89c.zip meta-impy-5b4356cefbaa7dbdc8656e7283c110a893b1a89c.tar.gz meta-impy-5b4356cefbaa7dbdc8656e7283c110a893b1a89c.tar.bz2 meta-impy-5b4356cefbaa7dbdc8656e7283c110a893b1a89c.tar.xz |
IMP-692: SNOW-713: Global objects in libllcommon duplicated in plugins
See http://jira.secondlife.com/browse/SNOW-713
This patch makes llcommon shared. It contains the following snowglobe
(SVN) changesets: 3478, 3479, 3480, 3481, 3482, 3485, 3496, 3498, 3500,
3519 and 3531, plus the fix for all rejects. Note that changes
to scripts/automated_build_scripts/opensrc-build.sh (changesets 3500
and 3625) were ignored as we don't have scripts/automated_build_scripts.
Diffstat (limited to 'linden/indra/llwindow')
-rw-r--r-- | linden/indra/llwindow/lldxhardware.cpp | 1 | ||||
-rw-r--r-- | linden/indra/llwindow/llwindowmacosx.h | 1 | ||||
-rw-r--r-- | linden/indra/llwindow/llwindowsdl.cpp | 6 | ||||
-rw-r--r-- | linden/indra/llwindow/llwindowsdl.h | 2 | ||||
-rw-r--r-- | linden/indra/llwindow/llwindowwin32.cpp | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/linden/indra/llwindow/lldxhardware.cpp b/linden/indra/llwindow/lldxhardware.cpp index e0cb82d..d8058ba 100644 --- a/linden/indra/llwindow/lldxhardware.cpp +++ b/linden/indra/llwindow/lldxhardware.cpp | |||
@@ -47,6 +47,7 @@ | |||
47 | 47 | ||
48 | #include "llstring.h" | 48 | #include "llstring.h" |
49 | #include "llstl.h" | 49 | #include "llstl.h" |
50 | #include "lltimer.h" | ||
50 | 51 | ||
51 | void (*gWriteDebug)(const char* msg) = NULL; | 52 | void (*gWriteDebug)(const char* msg) = NULL; |
52 | LLDXHardware gDXHardware; | 53 | LLDXHardware gDXHardware; |
diff --git a/linden/indra/llwindow/llwindowmacosx.h b/linden/indra/llwindow/llwindowmacosx.h index 92c73e8..d4c1b44 100644 --- a/linden/indra/llwindow/llwindowmacosx.h +++ b/linden/indra/llwindow/llwindowmacosx.h | |||
@@ -34,6 +34,7 @@ | |||
34 | #define LL_LLWINDOWMACOSX_H | 34 | #define LL_LLWINDOWMACOSX_H |
35 | 35 | ||
36 | #include "llwindow.h" | 36 | #include "llwindow.h" |
37 | #include "lltimer.h" | ||
37 | 38 | ||
38 | #include <Carbon/Carbon.h> | 39 | #include <Carbon/Carbon.h> |
39 | #include <AGL/agl.h> | 40 | #include <AGL/agl.h> |
diff --git a/linden/indra/llwindow/llwindowsdl.cpp b/linden/indra/llwindow/llwindowsdl.cpp index 16106af..f7d7587 100644 --- a/linden/indra/llwindow/llwindowsdl.cpp +++ b/linden/indra/llwindow/llwindowsdl.cpp | |||
@@ -42,6 +42,7 @@ | |||
42 | #include "llstring.h" | 42 | #include "llstring.h" |
43 | #include "lldir.h" | 43 | #include "lldir.h" |
44 | #include "llfindlocale.h" | 44 | #include "llfindlocale.h" |
45 | #include "lltimer.h" | ||
45 | 46 | ||
46 | #include "indra_constants.h" | 47 | #include "indra_constants.h" |
47 | 48 | ||
@@ -1940,11 +1941,6 @@ void LLWindowSDL::setCursor(ECursorType cursor) | |||
1940 | } | 1941 | } |
1941 | } | 1942 | } |
1942 | 1943 | ||
1943 | ECursorType LLWindowSDL::getCursor() | ||
1944 | { | ||
1945 | return mCurrentCursor; | ||
1946 | } | ||
1947 | |||
1948 | void LLWindowSDL::initCursors() | 1944 | void LLWindowSDL::initCursors() |
1949 | { | 1945 | { |
1950 | int i; | 1946 | int i; |
diff --git a/linden/indra/llwindow/llwindowsdl.h b/linden/indra/llwindow/llwindowsdl.h index 37b0835..e632dfe 100644 --- a/linden/indra/llwindow/llwindowsdl.h +++ b/linden/indra/llwindow/llwindowsdl.h | |||
@@ -36,6 +36,7 @@ | |||
36 | // Simple Directmedia Layer (http://libsdl.org/) implementation of LLWindow class | 36 | // Simple Directmedia Layer (http://libsdl.org/) implementation of LLWindow class |
37 | 37 | ||
38 | #include "llwindow.h" | 38 | #include "llwindow.h" |
39 | #include "lltimer.h" | ||
39 | 40 | ||
40 | #include "SDL/SDL.h" | 41 | #include "SDL/SDL.h" |
41 | #include "SDL/SDL_endian.h" | 42 | #include "SDL/SDL_endian.h" |
@@ -77,7 +78,6 @@ public: | |||
77 | /*virtual*/ void hideCursorUntilMouseMove(); | 78 | /*virtual*/ void hideCursorUntilMouseMove(); |
78 | /*virtual*/ BOOL isCursorHidden(); | 79 | /*virtual*/ BOOL isCursorHidden(); |
79 | /*virtual*/ void setCursor(ECursorType cursor); | 80 | /*virtual*/ void setCursor(ECursorType cursor); |
80 | /*virtual*/ ECursorType getCursor(); | ||
81 | /*virtual*/ void captureMouse(); | 81 | /*virtual*/ void captureMouse(); |
82 | /*virtual*/ void releaseMouse(); | 82 | /*virtual*/ void releaseMouse(); |
83 | /*virtual*/ void setMouseClipping( BOOL b ); | 83 | /*virtual*/ void setMouseClipping( BOOL b ); |
diff --git a/linden/indra/llwindow/llwindowwin32.cpp b/linden/indra/llwindow/llwindowwin32.cpp index 12a488a..7bc9a3b 100644 --- a/linden/indra/llwindow/llwindowwin32.cpp +++ b/linden/indra/llwindow/llwindowwin32.cpp | |||
@@ -59,6 +59,8 @@ | |||
59 | 59 | ||
60 | #include "llpreeditor.h" | 60 | #include "llpreeditor.h" |
61 | 61 | ||
62 | #include "llfasttimer.h" | ||
63 | |||
62 | // culled from winuser.h | 64 | // culled from winuser.h |
63 | #ifndef WM_MOUSEWHEEL /* Added to be compatible with later SDK's */ | 65 | #ifndef WM_MOUSEWHEEL /* Added to be compatible with later SDK's */ |
64 | const S32 WM_MOUSEWHEEL = 0x020A; | 66 | const S32 WM_MOUSEWHEEL = 0x020A; |