diff options
author | Jacek Antonelli | 2008-08-15 23:44:59 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:59 -0500 |
commit | a408bac29378072fbf36864164149458c978cfcc (patch) | |
tree | 67feccf1a5d3816611ba48d6762f86f0f7f4b1f6 /linden/libraries/include/llmozlib.h | |
parent | Second Life viewer sources 1.17.0.12 (diff) | |
download | meta-impy-a408bac29378072fbf36864164149458c978cfcc.zip meta-impy-a408bac29378072fbf36864164149458c978cfcc.tar.gz meta-impy-a408bac29378072fbf36864164149458c978cfcc.tar.bz2 meta-impy-a408bac29378072fbf36864164149458c978cfcc.tar.xz |
Second Life viewer sources 1.17.1.0
Diffstat (limited to '')
-rw-r--r-- | linden/libraries/include/llmozlib.h | 556 |
1 files changed, 278 insertions, 278 deletions
diff --git a/linden/libraries/include/llmozlib.h b/linden/libraries/include/llmozlib.h index 755818b..90717b2 100644 --- a/linden/libraries/include/llmozlib.h +++ b/linden/libraries/include/llmozlib.h | |||
@@ -1,8 +1,8 @@ | |||
1 | /** | 1 | /** |
2 | * @file llmozlib.h | 2 | * @file llmozlib.h |
3 | * @brief Linden Lab Mozilla wrapper. | 3 | * @brief Linden Lab Mozilla wrapper. |
4 | * | 4 | * |
5 | * Copyright (c) 2006-2007, Linden Research, Inc. | 5 | * Copyright (c) 2006-2007, Linden Research, Inc. |
6 | * | 6 | * |
7 | * Second Life Viewer Source Code | 7 | * Second Life Viewer Source Code |
8 | * The source code in this file ("Source Code") is provided by Linden Lab | 8 | * The source code in this file ("Source Code") is provided by Linden Lab |
@@ -23,276 +23,276 @@ | |||
23 | * | 23 | * |
24 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO | 24 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO |
25 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, | 25 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, |
26 | * COMPLETENESS OR PERFORMANCE. | 26 | * COMPLETENESS OR PERFORMANCE. |
27 | */ | 27 | */ |
28 | 28 | ||
29 | #ifndef LLMOZLIB_H | 29 | #ifndef LLMOZLIB_H |
30 | #define LLMOZLIB_H | 30 | #define LLMOZLIB_H |
31 | 31 | ||
32 | #include <string> | 32 | #include <string> |
33 | #include <map> | 33 | #include <map> |
34 | 34 | ||
35 | class LLEmbeddedBrowser; | 35 | class LLEmbeddedBrowser; |
36 | class LLEmbeddedBrowserWindow; | 36 | class LLEmbeddedBrowserWindow; |
37 | 37 | ||
38 | //////////////////////////////////////////////////////////////////////////////// | 38 | //////////////////////////////////////////////////////////////////////////////// |
39 | // data class that is passed with an event | 39 | // data class that is passed with an event |
40 | class LLEmbeddedBrowserWindowEvent | 40 | class LLEmbeddedBrowserWindowEvent |
41 | { | 41 | { |
42 | public: | 42 | public: |
43 | LLEmbeddedBrowserWindowEvent( int eventWindowIdIn ) : | 43 | LLEmbeddedBrowserWindowEvent( int eventWindowIdIn ) : |
44 | mEventWindowId( eventWindowIdIn ) | 44 | mEventWindowId( eventWindowIdIn ) |
45 | { | 45 | { |
46 | }; | 46 | }; |
47 | 47 | ||
48 | LLEmbeddedBrowserWindowEvent( int eventWindowIdIn, int intValIn ) : | 48 | LLEmbeddedBrowserWindowEvent( int eventWindowIdIn, int intValIn ) : |
49 | mEventWindowId( eventWindowIdIn ), | 49 | mEventWindowId( eventWindowIdIn ), |
50 | mIntVal( intValIn ) | 50 | mIntVal( intValIn ) |
51 | { | 51 | { |
52 | }; | 52 | }; |
53 | 53 | ||
54 | LLEmbeddedBrowserWindowEvent( int eventWindowIdIn, std::string stringValIn ) : | 54 | LLEmbeddedBrowserWindowEvent( int eventWindowIdIn, std::string stringValIn ) : |
55 | mEventWindowId( eventWindowIdIn ), | 55 | mEventWindowId( eventWindowIdIn ), |
56 | mStringVal( stringValIn ) | 56 | mStringVal( stringValIn ) |
57 | { | 57 | { |
58 | }; | 58 | }; |
59 | 59 | ||
60 | virtual ~LLEmbeddedBrowserWindowEvent() | 60 | virtual ~LLEmbeddedBrowserWindowEvent() |
61 | { | 61 | { |
62 | }; | 62 | }; |
63 | 63 | ||
64 | int getEventWindowId() const | 64 | int getEventWindowId() const |
65 | { | 65 | { |
66 | return mEventWindowId; | 66 | return mEventWindowId; |
67 | }; | 67 | }; |
68 | 68 | ||
69 | int getIntValue() const | 69 | int getIntValue() const |
70 | { | 70 | { |
71 | return mIntVal; | 71 | return mIntVal; |
72 | }; | 72 | }; |
73 | 73 | ||
74 | std::string getStringValue() const | 74 | std::string getStringValue() const |
75 | { | 75 | { |
76 | return mStringVal; | 76 | return mStringVal; |
77 | }; | 77 | }; |
78 | 78 | ||
79 | private: | 79 | private: |
80 | int mEventWindowId; | 80 | int mEventWindowId; |
81 | int mIntVal; | 81 | int mIntVal; |
82 | std::string mStringVal; | 82 | std::string mStringVal; |
83 | }; | 83 | }; |
84 | 84 | ||
85 | //////////////////////////////////////////////////////////////////////////////// | 85 | //////////////////////////////////////////////////////////////////////////////// |
86 | // Override these methods to observe browser events | 86 | // Override these methods to observe browser events |
87 | class LLEmbeddedBrowserWindowObserver | 87 | class LLEmbeddedBrowserWindowObserver |
88 | { | 88 | { |
89 | public: | 89 | public: |
90 | virtual ~LLEmbeddedBrowserWindowObserver() { }; | 90 | virtual ~LLEmbeddedBrowserWindowObserver() { }; |
91 | 91 | ||
92 | typedef LLEmbeddedBrowserWindowEvent EventType; | 92 | typedef LLEmbeddedBrowserWindowEvent EventType; |
93 | virtual void onNavigateBegin( const EventType& eventIn ) { }; | 93 | virtual void onNavigateBegin( const EventType& eventIn ) { }; |
94 | virtual void onNavigateComplete( const EventType& eventIn ) { }; | 94 | virtual void onNavigateComplete( const EventType& eventIn ) { }; |
95 | virtual void onUpdateProgress( const EventType& eventIn ) { }; | 95 | virtual void onUpdateProgress( const EventType& eventIn ) { }; |
96 | virtual void onStatusTextChange( const EventType& eventIn ) { }; | 96 | virtual void onStatusTextChange( const EventType& eventIn ) { }; |
97 | virtual void onLocationChange( const EventType& eventIn ) { }; | 97 | virtual void onLocationChange( const EventType& eventIn ) { }; |
98 | virtual void onClickLinkHref( const EventType& eventIn ) { }; | 98 | virtual void onClickLinkHref( const EventType& eventIn ) { }; |
99 | virtual void onClickLinkSecondLife( const EventType& eventIn ) { }; | 99 | virtual void onClickLinkSecondLife( const EventType& eventIn ) { }; |
100 | }; | 100 | }; |
101 | 101 | ||
102 | //////////////////////////////////////////////////////////////////////////////// | 102 | //////////////////////////////////////////////////////////////////////////////// |
103 | // | 103 | // |
104 | class LLMozLib | 104 | class LLMozLib |
105 | { | 105 | { |
106 | public: | 106 | public: |
107 | virtual ~LLMozLib(); | 107 | virtual ~LLMozLib(); |
108 | 108 | ||
109 | // singleton access | 109 | // singleton access |
110 | static LLMozLib* getInstance(); | 110 | static LLMozLib* getInstance(); |
111 | 111 | ||
112 | // housekeeping | 112 | // housekeeping |
113 | bool init( std::string applicationDirIn, std::string componentDirIn, std::string profileDirIn ); | 113 | bool init( std::string applicationDirIn, std::string componentDirIn, std::string profileDirIn ); |
114 | bool reset(); | 114 | bool reset(); |
115 | bool setHttpProxy( bool enabledIn, std::string addressIn, int portIn ); | 115 | bool setHttpProxy( bool enabledIn, std::string addressIn, int portIn ); |
116 | bool clearCache(); | 116 | bool clearCache(); |
117 | bool enableCookies( bool enabledIn ); | 117 | bool enableCookies( bool enabledIn ); |
118 | bool clearAllCookies(); | 118 | bool clearAllCookies(); |
119 | bool enablePlugins( bool enabledIn ); | 119 | bool enablePlugins( bool enabledIn ); |
120 | int getLastError(); | 120 | int getLastError(); |
121 | const std::string getVersion(); | 121 | const std::string getVersion(); |
122 | void setBrowserAgentId( std::string idIn ); | 122 | void setBrowserAgentId( std::string idIn ); |
123 | 123 | ||
124 | // browser window | 124 | // browser window |
125 | int createBrowserWindow( void* nativeWindowHandleIn, int browserWindowWidthIn, int browserWindowHeightIn ); | 125 | int createBrowserWindow( void* nativeWindowHandleIn, int browserWindowWidthIn, int browserWindowHeightIn ); |
126 | bool destroyBrowserWindow( int browserWindowIdIn ); | 126 | bool destroyBrowserWindow( int browserWindowIdIn ); |
127 | bool setSize( int browserWindowIdIn, int widthIn, int heightIn ); | 127 | bool setSize( int browserWindowIdIn, int widthIn, int heightIn ); |
128 | bool scrollByLines( int browserWindowIdIn, int linesIn ); | 128 | bool scrollByLines( int browserWindowIdIn, int linesIn ); |
129 | void setBackgroundColor( int browserWindowIdIn, int redIn, int greenIn, int blueIn ); | 129 | void setBackgroundColor( int browserWindowIdIn, int redIn, int greenIn, int blueIn ); |
130 | 130 | ||
131 | // observer interface | 131 | // observer interface |
132 | bool addObserver( int browserWindowIdIn, LLEmbeddedBrowserWindowObserver* subjectIn ); | 132 | bool addObserver( int browserWindowIdIn, LLEmbeddedBrowserWindowObserver* subjectIn ); |
133 | bool remObserver( int browserWindowIdIn, LLEmbeddedBrowserWindowObserver* subjectIn ); | 133 | bool remObserver( int browserWindowIdIn, LLEmbeddedBrowserWindowObserver* subjectIn ); |
134 | 134 | ||
135 | // navigation | 135 | // navigation |
136 | bool navigateTo( int browserWindowIdIn, const std::string uriIn ); | 136 | bool navigateTo( int browserWindowIdIn, const std::string uriIn ); |
137 | bool navigateStop( int browserWindowIdIn ); | 137 | bool navigateStop( int browserWindowIdIn ); |
138 | bool canNavigateBack( int browserWindowIdIn ); | 138 | bool canNavigateBack( int browserWindowIdIn ); |
139 | bool navigateBack( int browserWindowIdIn ); | 139 | bool navigateBack( int browserWindowIdIn ); |
140 | bool canNavigateForward( int browserWindowIdIn ); | 140 | bool canNavigateForward( int browserWindowIdIn ); |
141 | bool navigateForward( int browserWindowIdIn ); | 141 | bool navigateForward( int browserWindowIdIn ); |
142 | 142 | ||
143 | // access to rendered bitmap data | 143 | // access to rendered bitmap data |
144 | const unsigned char* grabBrowserWindow( int browserWindowIdIn ); | 144 | const unsigned char* grabBrowserWindow( int browserWindowIdIn ); |
145 | const unsigned char* getBrowserWindowPixels( int browserWindowIdIn ); | 145 | const unsigned char* getBrowserWindowPixels( int browserWindowIdIn ); |
146 | const int getBrowserWidth( int browserWindowIdIn ); | 146 | const int getBrowserWidth( int browserWindowIdIn ); |
147 | const int getBrowserHeight( int browserWindowIdIn ); | 147 | const int getBrowserHeight( int browserWindowIdIn ); |
148 | const int getBrowserDepth( int browserWindowIdIn ); | 148 | const int getBrowserDepth( int browserWindowIdIn ); |
149 | const int getBrowserRowSpan( int browserWindowIdIn ); | 149 | const int getBrowserRowSpan( int browserWindowIdIn ); |
150 | 150 | ||
151 | // mouse/keyboard interaction | 151 | // mouse/keyboard interaction |
152 | bool mouseDown( int browserWindowIdIn, int xPosIn, int yPosIn ); | 152 | bool mouseDown( int browserWindowIdIn, int xPosIn, int yPosIn ); |
153 | bool mouseUp( int browserWindowIdIn, int xPosIn, int yPosIn ); | 153 | bool mouseUp( int browserWindowIdIn, int xPosIn, int yPosIn ); |
154 | bool mouseMove( int browserWindowIdIn, int xPosIn, int yPosIn ); | 154 | bool mouseMove( int browserWindowIdIn, int xPosIn, int yPosIn ); |
155 | bool keyPress( int browserWindowIdIn, int keyCodeIn ); | 155 | bool keyPress( int browserWindowIdIn, int keyCodeIn ); |
156 | bool unicodeInput ( int browserWindowIdIn, unsigned long uni_char ); | 156 | bool unicodeInput ( int browserWindowIdIn, unsigned long uni_char ); |
157 | bool focusBrowser( int browserWindowIdIn, bool focusBrowserIn ); | 157 | bool focusBrowser( int browserWindowIdIn, bool focusBrowserIn ); |
158 | 158 | ||
159 | private: | 159 | private: |
160 | LLMozLib(); | 160 | LLMozLib(); |
161 | LLEmbeddedBrowserWindow* getBrowserWindowFromWindowId( int browserWindowIdIn ); | 161 | LLEmbeddedBrowserWindow* getBrowserWindowFromWindowId( int browserWindowIdIn ); |
162 | static LLMozLib* sInstance; | 162 | static LLMozLib* sInstance; |
163 | const int mMaxBrowserWindows; | 163 | const int mMaxBrowserWindows; |
164 | LLEmbeddedBrowserWindow** mBrowserWindowList; | 164 | LLEmbeddedBrowserWindow** mBrowserWindowList; |
165 | }; | 165 | }; |
166 | 166 | ||
167 | 167 | ||
168 | // Mozilla virtual keycodes. | 168 | // Mozilla virtual keycodes. |
169 | // We don't want to suck in Mozilla headers so we copy these consts | 169 | // We don't want to suck in Mozilla headers so we copy these consts |
170 | // from nsIDOMKeyEvent.idl. | 170 | // from nsIDOMKeyEvent.idl. |
171 | 171 | ||
172 | const unsigned long LL_DOM_VK_CANCEL = 0x03; | 172 | const unsigned long LL_DOM_VK_CANCEL = 0x03; |
173 | const unsigned long LL_DOM_VK_HELP = 0x06; | 173 | const unsigned long LL_DOM_VK_HELP = 0x06; |
174 | const unsigned long LL_DOM_VK_BACK_SPACE = 0x08; | 174 | const unsigned long LL_DOM_VK_BACK_SPACE = 0x08; |
175 | const unsigned long LL_DOM_VK_TAB = 0x09; | 175 | const unsigned long LL_DOM_VK_TAB = 0x09; |
176 | const unsigned long LL_DOM_VK_CLEAR = 0x0C; | 176 | const unsigned long LL_DOM_VK_CLEAR = 0x0C; |
177 | const unsigned long LL_DOM_VK_RETURN = 0x0D; | 177 | const unsigned long LL_DOM_VK_RETURN = 0x0D; |
178 | const unsigned long LL_DOM_VK_ENTER = 0x0E; | 178 | const unsigned long LL_DOM_VK_ENTER = 0x0E; |
179 | const unsigned long LL_DOM_VK_SHIFT = 0x10; | 179 | const unsigned long LL_DOM_VK_SHIFT = 0x10; |
180 | const unsigned long LL_DOM_VK_CONTROL = 0x11; | 180 | const unsigned long LL_DOM_VK_CONTROL = 0x11; |
181 | const unsigned long LL_DOM_VK_ALT = 0x12; | 181 | const unsigned long LL_DOM_VK_ALT = 0x12; |
182 | const unsigned long LL_DOM_VK_PAUSE = 0x13; | 182 | const unsigned long LL_DOM_VK_PAUSE = 0x13; |
183 | const unsigned long LL_DOM_VK_CAPS_LOCK = 0x14; | 183 | const unsigned long LL_DOM_VK_CAPS_LOCK = 0x14; |
184 | const unsigned long LL_DOM_VK_ESCAPE = 0x1B; | 184 | const unsigned long LL_DOM_VK_ESCAPE = 0x1B; |
185 | const unsigned long LL_DOM_VK_SPACE = 0x20; | 185 | const unsigned long LL_DOM_VK_SPACE = 0x20; |
186 | const unsigned long LL_DOM_VK_PAGE_UP = 0x21; | 186 | const unsigned long LL_DOM_VK_PAGE_UP = 0x21; |
187 | const unsigned long LL_DOM_VK_PAGE_DOWN = 0x22; | 187 | const unsigned long LL_DOM_VK_PAGE_DOWN = 0x22; |
188 | const unsigned long LL_DOM_VK_END = 0x23; | 188 | const unsigned long LL_DOM_VK_END = 0x23; |
189 | const unsigned long LL_DOM_VK_HOME = 0x24; | 189 | const unsigned long LL_DOM_VK_HOME = 0x24; |
190 | const unsigned long LL_DOM_VK_LEFT = 0x25; | 190 | const unsigned long LL_DOM_VK_LEFT = 0x25; |
191 | const unsigned long LL_DOM_VK_UP = 0x26; | 191 | const unsigned long LL_DOM_VK_UP = 0x26; |
192 | const unsigned long LL_DOM_VK_RIGHT = 0x27; | 192 | const unsigned long LL_DOM_VK_RIGHT = 0x27; |
193 | const unsigned long LL_DOM_VK_DOWN = 0x28; | 193 | const unsigned long LL_DOM_VK_DOWN = 0x28; |
194 | const unsigned long LL_DOM_VK_PRINTSCREEN = 0x2C; | 194 | const unsigned long LL_DOM_VK_PRINTSCREEN = 0x2C; |
195 | const unsigned long LL_DOM_VK_INSERT = 0x2D; | 195 | const unsigned long LL_DOM_VK_INSERT = 0x2D; |
196 | const unsigned long LL_DOM_VK_DELETE = 0x2E; | 196 | const unsigned long LL_DOM_VK_DELETE = 0x2E; |
197 | 197 | ||
198 | // LL_DOM_VK_0 - LL_DOM_VK_9 match their ASCII values | 198 | // LL_DOM_VK_0 - LL_DOM_VK_9 match their ASCII values |
199 | const unsigned long LL_DOM_VK_0 = 0x30; | 199 | const unsigned long LL_DOM_VK_0 = 0x30; |
200 | const unsigned long LL_DOM_VK_1 = 0x31; | 200 | const unsigned long LL_DOM_VK_1 = 0x31; |
201 | const unsigned long LL_DOM_VK_2 = 0x32; | 201 | const unsigned long LL_DOM_VK_2 = 0x32; |
202 | const unsigned long LL_DOM_VK_3 = 0x33; | 202 | const unsigned long LL_DOM_VK_3 = 0x33; |
203 | const unsigned long LL_DOM_VK_4 = 0x34; | 203 | const unsigned long LL_DOM_VK_4 = 0x34; |
204 | const unsigned long LL_DOM_VK_5 = 0x35; | 204 | const unsigned long LL_DOM_VK_5 = 0x35; |
205 | const unsigned long LL_DOM_VK_6 = 0x36; | 205 | const unsigned long LL_DOM_VK_6 = 0x36; |
206 | const unsigned long LL_DOM_VK_7 = 0x37; | 206 | const unsigned long LL_DOM_VK_7 = 0x37; |
207 | const unsigned long LL_DOM_VK_8 = 0x38; | 207 | const unsigned long LL_DOM_VK_8 = 0x38; |
208 | const unsigned long LL_DOM_VK_9 = 0x39; | 208 | const unsigned long LL_DOM_VK_9 = 0x39; |
209 | 209 | ||
210 | const unsigned long LL_DOM_VK_SEMICOLON = 0x3B; | 210 | const unsigned long LL_DOM_VK_SEMICOLON = 0x3B; |
211 | const unsigned long LL_DOM_VK_EQUALS = 0x3D; | 211 | const unsigned long LL_DOM_VK_EQUALS = 0x3D; |
212 | 212 | ||
213 | // LL_DOM_VK_A - LL_DOM_VK_Z match their ASCII values | 213 | // LL_DOM_VK_A - LL_DOM_VK_Z match their ASCII values |
214 | const unsigned long LL_DOM_VK_A = 0x41; | 214 | const unsigned long LL_DOM_VK_A = 0x41; |
215 | const unsigned long LL_DOM_VK_B = 0x42; | 215 | const unsigned long LL_DOM_VK_B = 0x42; |
216 | const unsigned long LL_DOM_VK_C = 0x43; | 216 | const unsigned long LL_DOM_VK_C = 0x43; |
217 | const unsigned long LL_DOM_VK_D = 0x44; | 217 | const unsigned long LL_DOM_VK_D = 0x44; |
218 | const unsigned long LL_DOM_VK_E = 0x45; | 218 | const unsigned long LL_DOM_VK_E = 0x45; |
219 | const unsigned long LL_DOM_VK_F = 0x46; | 219 | const unsigned long LL_DOM_VK_F = 0x46; |
220 | const unsigned long LL_DOM_VK_G = 0x47; | 220 | const unsigned long LL_DOM_VK_G = 0x47; |
221 | const unsigned long LL_DOM_VK_H = 0x48; | 221 | const unsigned long LL_DOM_VK_H = 0x48; |
222 | const unsigned long LL_DOM_VK_I = 0x49; | 222 | const unsigned long LL_DOM_VK_I = 0x49; |
223 | const unsigned long LL_DOM_VK_J = 0x4A; | 223 | const unsigned long LL_DOM_VK_J = 0x4A; |
224 | const unsigned long LL_DOM_VK_K = 0x4B; | 224 | const unsigned long LL_DOM_VK_K = 0x4B; |
225 | const unsigned long LL_DOM_VK_L = 0x4C; | 225 | const unsigned long LL_DOM_VK_L = 0x4C; |
226 | const unsigned long LL_DOM_VK_M = 0x4D; | 226 | const unsigned long LL_DOM_VK_M = 0x4D; |
227 | const unsigned long LL_DOM_VK_N = 0x4E; | 227 | const unsigned long LL_DOM_VK_N = 0x4E; |
228 | const unsigned long LL_DOM_VK_O = 0x4F; | 228 | const unsigned long LL_DOM_VK_O = 0x4F; |
229 | const unsigned long LL_DOM_VK_P = 0x50; | 229 | const unsigned long LL_DOM_VK_P = 0x50; |
230 | const unsigned long LL_DOM_VK_Q = 0x51; | 230 | const unsigned long LL_DOM_VK_Q = 0x51; |
231 | const unsigned long LL_DOM_VK_R = 0x52; | 231 | const unsigned long LL_DOM_VK_R = 0x52; |
232 | const unsigned long LL_DOM_VK_S = 0x53; | 232 | const unsigned long LL_DOM_VK_S = 0x53; |
233 | const unsigned long LL_DOM_VK_T = 0x54; | 233 | const unsigned long LL_DOM_VK_T = 0x54; |
234 | const unsigned long LL_DOM_VK_U = 0x55; | 234 | const unsigned long LL_DOM_VK_U = 0x55; |
235 | const unsigned long LL_DOM_VK_V = 0x56; | 235 | const unsigned long LL_DOM_VK_V = 0x56; |
236 | const unsigned long LL_DOM_VK_W = 0x57; | 236 | const unsigned long LL_DOM_VK_W = 0x57; |
237 | const unsigned long LL_DOM_VK_X = 0x58; | 237 | const unsigned long LL_DOM_VK_X = 0x58; |
238 | const unsigned long LL_DOM_VK_Y = 0x59; | 238 | const unsigned long LL_DOM_VK_Y = 0x59; |
239 | const unsigned long LL_DOM_VK_Z = 0x5A; | 239 | const unsigned long LL_DOM_VK_Z = 0x5A; |
240 | 240 | ||
241 | const unsigned long LL_DOM_VK_CONTEXT_MENU = 0x5D; | 241 | const unsigned long LL_DOM_VK_CONTEXT_MENU = 0x5D; |
242 | 242 | ||
243 | const unsigned long LL_DOM_VK_NUMPAD0 = 0x60; | 243 | const unsigned long LL_DOM_VK_NUMPAD0 = 0x60; |
244 | const unsigned long LL_DOM_VK_NUMPAD1 = 0x61; | 244 | const unsigned long LL_DOM_VK_NUMPAD1 = 0x61; |
245 | const unsigned long LL_DOM_VK_NUMPAD2 = 0x62; | 245 | const unsigned long LL_DOM_VK_NUMPAD2 = 0x62; |
246 | const unsigned long LL_DOM_VK_NUMPAD3 = 0x63; | 246 | const unsigned long LL_DOM_VK_NUMPAD3 = 0x63; |
247 | const unsigned long LL_DOM_VK_NUMPAD4 = 0x64; | 247 | const unsigned long LL_DOM_VK_NUMPAD4 = 0x64; |
248 | const unsigned long LL_DOM_VK_NUMPAD5 = 0x65; | 248 | const unsigned long LL_DOM_VK_NUMPAD5 = 0x65; |
249 | const unsigned long LL_DOM_VK_NUMPAD6 = 0x66; | 249 | const unsigned long LL_DOM_VK_NUMPAD6 = 0x66; |
250 | const unsigned long LL_DOM_VK_NUMPAD7 = 0x67; | 250 | const unsigned long LL_DOM_VK_NUMPAD7 = 0x67; |
251 | const unsigned long LL_DOM_VK_NUMPAD8 = 0x68; | 251 | const unsigned long LL_DOM_VK_NUMPAD8 = 0x68; |
252 | const unsigned long LL_DOM_VK_NUMPAD9 = 0x69; | 252 | const unsigned long LL_DOM_VK_NUMPAD9 = 0x69; |
253 | const unsigned long LL_DOM_VK_MULTIPLY = 0x6A; | 253 | const unsigned long LL_DOM_VK_MULTIPLY = 0x6A; |
254 | const unsigned long LL_DOM_VK_ADD = 0x6B; | 254 | const unsigned long LL_DOM_VK_ADD = 0x6B; |
255 | const unsigned long LL_DOM_VK_SEPARATOR = 0x6C; | 255 | const unsigned long LL_DOM_VK_SEPARATOR = 0x6C; |
256 | const unsigned long LL_DOM_VK_SUBTRACT = 0x6D; | 256 | const unsigned long LL_DOM_VK_SUBTRACT = 0x6D; |
257 | const unsigned long LL_DOM_VK_DECIMAL = 0x6E; | 257 | const unsigned long LL_DOM_VK_DECIMAL = 0x6E; |
258 | const unsigned long LL_DOM_VK_DIVIDE = 0x6F; | 258 | const unsigned long LL_DOM_VK_DIVIDE = 0x6F; |
259 | const unsigned long LL_DOM_VK_F1 = 0x70; | 259 | const unsigned long LL_DOM_VK_F1 = 0x70; |
260 | const unsigned long LL_DOM_VK_F2 = 0x71; | 260 | const unsigned long LL_DOM_VK_F2 = 0x71; |
261 | const unsigned long LL_DOM_VK_F3 = 0x72; | 261 | const unsigned long LL_DOM_VK_F3 = 0x72; |
262 | const unsigned long LL_DOM_VK_F4 = 0x73; | 262 | const unsigned long LL_DOM_VK_F4 = 0x73; |
263 | const unsigned long LL_DOM_VK_F5 = 0x74; | 263 | const unsigned long LL_DOM_VK_F5 = 0x74; |
264 | const unsigned long LL_DOM_VK_F6 = 0x75; | 264 | const unsigned long LL_DOM_VK_F6 = 0x75; |
265 | const unsigned long LL_DOM_VK_F7 = 0x76; | 265 | const unsigned long LL_DOM_VK_F7 = 0x76; |
266 | const unsigned long LL_DOM_VK_F8 = 0x77; | 266 | const unsigned long LL_DOM_VK_F8 = 0x77; |
267 | const unsigned long LL_DOM_VK_F9 = 0x78; | 267 | const unsigned long LL_DOM_VK_F9 = 0x78; |
268 | const unsigned long LL_DOM_VK_F10 = 0x79; | 268 | const unsigned long LL_DOM_VK_F10 = 0x79; |
269 | const unsigned long LL_DOM_VK_F11 = 0x7A; | 269 | const unsigned long LL_DOM_VK_F11 = 0x7A; |
270 | const unsigned long LL_DOM_VK_F12 = 0x7B; | 270 | const unsigned long LL_DOM_VK_F12 = 0x7B; |
271 | const unsigned long LL_DOM_VK_F13 = 0x7C; | 271 | const unsigned long LL_DOM_VK_F13 = 0x7C; |
272 | const unsigned long LL_DOM_VK_F14 = 0x7D; | 272 | const unsigned long LL_DOM_VK_F14 = 0x7D; |
273 | const unsigned long LL_DOM_VK_F15 = 0x7E; | 273 | const unsigned long LL_DOM_VK_F15 = 0x7E; |
274 | const unsigned long LL_DOM_VK_F16 = 0x7F; | 274 | const unsigned long LL_DOM_VK_F16 = 0x7F; |
275 | const unsigned long LL_DOM_VK_F17 = 0x80; | 275 | const unsigned long LL_DOM_VK_F17 = 0x80; |
276 | const unsigned long LL_DOM_VK_F18 = 0x81; | 276 | const unsigned long LL_DOM_VK_F18 = 0x81; |
277 | const unsigned long LL_DOM_VK_F19 = 0x82; | 277 | const unsigned long LL_DOM_VK_F19 = 0x82; |
278 | const unsigned long LL_DOM_VK_F20 = 0x83; | 278 | const unsigned long LL_DOM_VK_F20 = 0x83; |
279 | const unsigned long LL_DOM_VK_F21 = 0x84; | 279 | const unsigned long LL_DOM_VK_F21 = 0x84; |
280 | const unsigned long LL_DOM_VK_F22 = 0x85; | 280 | const unsigned long LL_DOM_VK_F22 = 0x85; |
281 | const unsigned long LL_DOM_VK_F23 = 0x86; | 281 | const unsigned long LL_DOM_VK_F23 = 0x86; |
282 | const unsigned long LL_DOM_VK_F24 = 0x87; | 282 | const unsigned long LL_DOM_VK_F24 = 0x87; |
283 | 283 | ||
284 | const unsigned long LL_DOM_VK_NUM_LOCK = 0x90; | 284 | const unsigned long LL_DOM_VK_NUM_LOCK = 0x90; |
285 | const unsigned long LL_DOM_VK_SCROLL_LOCK = 0x91; | 285 | const unsigned long LL_DOM_VK_SCROLL_LOCK = 0x91; |
286 | 286 | ||
287 | const unsigned long LL_DOM_VK_COMMA = 0xBC; | 287 | const unsigned long LL_DOM_VK_COMMA = 0xBC; |
288 | const unsigned long LL_DOM_VK_PERIOD = 0xBE; | 288 | const unsigned long LL_DOM_VK_PERIOD = 0xBE; |
289 | const unsigned long LL_DOM_VK_SLASH = 0xBF; | 289 | const unsigned long LL_DOM_VK_SLASH = 0xBF; |
290 | const unsigned long LL_DOM_VK_BACK_QUOTE = 0xC0; | 290 | const unsigned long LL_DOM_VK_BACK_QUOTE = 0xC0; |
291 | const unsigned long LL_DOM_VK_OPEN_BRACKET = 0xDB; | 291 | const unsigned long LL_DOM_VK_OPEN_BRACKET = 0xDB; |
292 | const unsigned long LL_DOM_VK_BACK_SLASH = 0xDC; | 292 | const unsigned long LL_DOM_VK_BACK_SLASH = 0xDC; |
293 | const unsigned long LL_DOM_VK_CLOSE_BRACKET = 0xDD; | 293 | const unsigned long LL_DOM_VK_CLOSE_BRACKET = 0xDD; |
294 | const unsigned long LL_DOM_VK_QUOTE = 0xDE; | 294 | const unsigned long LL_DOM_VK_QUOTE = 0xDE; |
295 | 295 | ||
296 | const unsigned long LL_DOM_VK_META = 0xE0; | 296 | const unsigned long LL_DOM_VK_META = 0xE0; |
297 | 297 | ||
298 | #endif // LLMOZLIB_H | 298 | #endif // LLMOZLIB_H |