diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llwindow/llwindowsolaris.h | 116 |
1 files changed, 116 insertions, 0 deletions
diff --git a/linden/indra/llwindow/llwindowsolaris.h b/linden/indra/llwindow/llwindowsolaris.h new file mode 100644 index 0000000..57aa9b9 --- /dev/null +++ b/linden/indra/llwindow/llwindowsolaris.h | |||
@@ -0,0 +1,116 @@ | |||
1 | /** | ||
2 | * @file fmodwrapper.cpp | ||
3 | * @brief dummy source file for building a shared library to wrap libfmod.a | ||
4 | * | ||
5 | * Copyright (c) 2005-2007, Linden Research, Inc. | ||
6 | * | ||
7 | * Second Life Viewer Source Code | ||
8 | * The source code in this file ("Source Code") is provided by Linden Lab | ||
9 | * to you under the terms of the GNU General Public License, version 2.0 | ||
10 | * ("GPL"), unless you have obtained a separate licensing agreement | ||
11 | * ("Other License"), formally executed by you and Linden Lab. Terms of | ||
12 | * the GPL can be found in doc/GPL-license.txt in this distribution, or | ||
13 | * online at http://secondlife.com/developers/opensource/gplv2 | ||
14 | * | ||
15 | * There are special exceptions to the terms and conditions of the GPL as | ||
16 | * it is applied to this Source Code. View the full text of the exception | ||
17 | * in the file doc/FLOSS-exception.txt in this software distribution, or | ||
18 | * online at http://secondlife.com/developers/opensource/flossexception | ||
19 | * | ||
20 | * By copying, modifying or distributing this software, you acknowledge | ||
21 | * that you have read and understood your obligations described above, | ||
22 | * and agree to abide by those obligations. | ||
23 | * | ||
24 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO | ||
25 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, | ||
26 | * COMPLETENESS OR PERFORMANCE. | ||
27 | */ | ||
28 | |||
29 | #ifndef LL_LLWINDOWSOLARIS_H | ||
30 | #define LL_LLWINDOWSOLARIS_H | ||
31 | |||
32 | #include "llwindow.h" | ||
33 | |||
34 | class LLWindowSolaris : public LLWindow | ||
35 | { | ||
36 | public: | ||
37 | /*virtual*/ void show() {}; | ||
38 | /*virtual*/ void hide() {}; | ||
39 | /*virtual*/ void close() {}; | ||
40 | /*virtual*/ BOOL getVisible() {return FALSE;}; | ||
41 | /*virtual*/ BOOL getMinimized() {return FALSE;}; | ||
42 | /*virtual*/ BOOL getMaximized() {return FALSE;}; | ||
43 | /*virtual*/ BOOL maximize() {return FALSE;}; | ||
44 | /*virtual*/ BOOL getFullscreen() {return FALSE;}; | ||
45 | /*virtual*/ BOOL getPosition(LLCoordScreen *position) {return FALSE;}; | ||
46 | /*virtual*/ BOOL getSize(LLCoordScreen *size) {return FALSE;}; | ||
47 | /*virtual*/ BOOL getSize(LLCoordWindow *size) {return FALSE;}; | ||
48 | /*virtual*/ BOOL setPosition(LLCoordScreen position) {return FALSE;}; | ||
49 | /*virtual*/ BOOL setSize(LLCoordScreen size) {return FALSE;}; | ||
50 | /*virtual*/ BOOL switchContext(BOOL fullscreen, LLCoordScreen size, BOOL disable_vsync) {return FALSE;}; | ||
51 | /*virtual*/ BOOL setCursorPosition(LLCoordWindow position) {return FALSE;}; | ||
52 | /*virtual*/ BOOL getCursorPosition(LLCoordWindow *position) {return FALSE;}; | ||
53 | /*virtual*/ void showCursor() {}; | ||
54 | /*virtual*/ void hideCursor() {}; | ||
55 | /*virtual*/ void showCursorFromMouseMove() {}; | ||
56 | /*virtual*/ void hideCursorUntilMouseMove() {}; | ||
57 | /*virtual*/ BOOL isCursorHidden() {return FALSE;}; | ||
58 | /*virtual*/ void setCursor(ECursorType cursor) {}; | ||
59 | //virtual ECursorType getCursor() { return mCurrentCursor; }; | ||
60 | /*virtual*/ void captureMouse() {}; | ||
61 | /*virtual*/ void releaseMouse() {}; | ||
62 | /*virtual*/ void setMouseClipping( BOOL b ) {}; | ||
63 | /*virtual*/ BOOL isClipboardTextAvailable() {return FALSE; }; | ||
64 | /*virtual*/ BOOL pasteTextFromClipboard(LLWString &dst) {return FALSE; }; | ||
65 | /*virtual*/ BOOL copyTextToClipboard(const LLWString &src) {return FALSE; }; | ||
66 | /*virtual*/ void flashIcon(F32 seconds) {}; | ||
67 | /*virtual*/ F32 getGamma() {return 1.0f; }; | ||
68 | /*virtual*/ BOOL setGamma(const F32 gamma) {return FALSE; }; // Set the gamma | ||
69 | /*virtual*/ BOOL restoreGamma() {return FALSE; }; // Restore original gamma table (before updating gamma) | ||
70 | //virtual ESwapMethod getSwapMethod() { return mSwapMethod; } | ||
71 | /*virtual*/ void gatherInput() {}; | ||
72 | /*virtual*/ void delayInputProcessing() {}; | ||
73 | /*virtual*/ void swapBuffers(); | ||
74 | |||
75 | /*virtual*/ LLString getTempFileName() {return LLString(""); }; | ||
76 | /*virtual*/ void deleteFile( const char* file_name ) {}; | ||
77 | /*virtual*/ S32 stat( const char* file_name, struct stat* stat_info ) {return 0; }; | ||
78 | /*virtual*/ BOOL sendEmail(const char* address,const char* subject,const char* body_text,const char* attachment=NULL, const char* attachment_displayed_name=NULL) { return FALSE; }; | ||
79 | |||
80 | |||
81 | // handy coordinate space conversion routines | ||
82 | /*virtual*/ BOOL convertCoords(LLCoordScreen from, LLCoordWindow *to) { return FALSE; }; | ||
83 | /*virtual*/ BOOL convertCoords(LLCoordWindow from, LLCoordScreen *to) { return FALSE; }; | ||
84 | /*virtual*/ BOOL convertCoords(LLCoordWindow from, LLCoordGL *to) { return FALSE; }; | ||
85 | /*virtual*/ BOOL convertCoords(LLCoordGL from, LLCoordWindow *to) { return FALSE; }; | ||
86 | /*virtual*/ BOOL convertCoords(LLCoordScreen from, LLCoordGL *to) { return FALSE; }; | ||
87 | /*virtual*/ BOOL convertCoords(LLCoordGL from, LLCoordScreen *to) { return FALSE; }; | ||
88 | |||
89 | /*virtual*/ LLWindowResolution* getSupportedResolutions(S32 &num_resolutions) { return NULL; }; | ||
90 | /*virtual*/ F32 getNativeAspectRatio() { return 1.0f; }; | ||
91 | /*virtual*/ F32 getPixelAspectRatio() { return 1.0f; }; | ||
92 | /*virtual*/ void setNativeAspectRatio(F32 ratio) {} | ||
93 | |||
94 | //virtual BOOL dialog_color_picker (F32 *r, F32 *g, F32 *b ); | ||
95 | |||
96 | /*virtual*/ void *getPlatformWindow() { return NULL; } | ||
97 | |||
98 | LLWindowSolaris(char *title, char *name, S32 x, S32 y, S32 width, S32 height, | ||
99 | U32 flags, BOOL fullscreen, BOOL clearBg, | ||
100 | BOOL disable_vsync, BOOL use_gl, BOOL ignore_pixel_depth); | ||
101 | ~LLWindowSolaris(); | ||
102 | }; | ||
103 | |||
104 | class LLSplashScreenLinux : public LLSplashScreen | ||
105 | { | ||
106 | public: | ||
107 | LLSplashScreenLinux() {}; | ||
108 | virtual ~LLSplashScreenLinux() {}; | ||
109 | |||
110 | /*virtual*/ void showImpl() {}; | ||
111 | /*virtual*/ void updateImpl(const char* mesg) {}; | ||
112 | /*virtual*/ void hideImpl() {}; | ||
113 | |||
114 | }; | ||
115 | |||
116 | #endif //LL_LLWINDOWSOLARIS_H | ||