00001
00002
00003 using namespace KJS;
00004
00005 namespace KJS {
00006
00007 const struct HashEntry ScreenTableEntries[] = {
00008 { 0, 0, 0, 0, 0 },
00009 { "colorDepth", Screen::ColorDepth, DontEnum|ReadOnly, 0, &ScreenTableEntries[9] },
00010 { 0, 0, 0, 0, 0 },
00011 { "height", Screen::Height, DontEnum|ReadOnly, 0, &ScreenTableEntries[7] },
00012 { "pixelDepth", Screen::PixelDepth, DontEnum|ReadOnly, 0, 0 },
00013 { "width", Screen::Width, DontEnum|ReadOnly, 0, 0 },
00014 { "availTop", Screen::AvailTop, DontEnum|ReadOnly, 0, &ScreenTableEntries[8] },
00015 { "availLeft", Screen::AvailLeft, DontEnum|ReadOnly, 0, 0 },
00016 { "availHeight", Screen::AvailHeight, DontEnum|ReadOnly, 0, 0 },
00017 { "availWidth", Screen::AvailWidth, DontEnum|ReadOnly, 0, 0 }
00018 };
00019
00020 const struct HashTable ScreenTable = { 2, 10, ScreenTableEntries, 7 };
00021
00022 }
00023
00024 using namespace KJS;
00025
00026 namespace KJS {
00027
00028 const struct HashEntry WindowTableEntries[] = {
00029 { "onmouseout", Window::Onmouseout, DontDelete, 0, 0 },
00030 { "onerror", Window::Onerror, DontDelete, 0, &WindowTableEntries[105] },
00031 { 0, 0, 0, 0, 0 },
00032 { "document", Window::Document, DontDelete|ReadOnly, 0, 0 },
00033 { "open", Window::Open, DontDelete|Function, 3, &WindowTableEntries[106] },
00034 { "onkeyup", Window::Onkeyup, DontDelete, 0, 0 },
00035 { 0, 0, 0, 0, 0 },
00036 { "blur", Window::Blur, DontDelete|Function, 0, 0 },
00037 { 0, 0, 0, 0, 0 },
00038 { "defaultStatus", Window::DefaultStatus, DontDelete, 0, &WindowTableEntries[103] },
00039 { "onmousedown", Window::Onmousedown, DontDelete, 0, 0 },
00040 { 0, 0, 0, 0, 0 },
00041 { "history", Window::_History, DontDelete|ReadOnly, 0, 0 },
00042 { "ondblclick", Window::Ondblclick, DontDelete, 0, 0 },
00043 { "onmouseover", Window::Onmouseover, DontDelete, 0, 0 },
00044 { "addEventListener", Window::AddEventListener, DontDelete|Function, 3, 0 },
00045 { 0, 0, 0, 0, 0 },
00046 { 0, 0, 0, 0, 0 },
00047 { "close", Window::Close, DontDelete|Function, 0, 0 },
00048 { "onresize", Window::Onresize, DontDelete, 0, 0 },
00049 { "innerWidth", Window::InnerWidth, DontDelete|ReadOnly, 0, &WindowTableEntries[94] },
00050 { "onsubmit", Window::Onsubmit, DontDelete, 0, 0 },
00051 { 0, 0, 0, 0, 0 },
00052 { "innerHeight", Window::InnerHeight, DontDelete|ReadOnly, 0, 0 },
00053 { "moveBy", Window::MoveBy, DontDelete|Function, 2, 0 },
00054 { "navigator", Window::_Navigator, DontDelete|ReadOnly, 0, 0 },
00055 { 0, 0, 0, 0, 0 },
00056 { 0, 0, 0, 0, 0 },
00057 { "focus", Window::Focus, DontDelete|Function, 0, &WindowTableEntries[98] },
00058 { 0, 0, 0, 0, 0 },
00059 { "event", Window::Event, DontDelete|ReadOnly, 0, 0 },
00060 { "Option", Window::Option, DontDelete|ReadOnly, 0, 0 },
00061 { "closed", Window::Closed, DontDelete|ReadOnly, 0, &WindowTableEntries[91] },
00062 { 0, 0, 0, 0, 0 },
00063 { 0, 0, 0, 0, 0 },
00064 { "onload", Window::Onload, DontDelete, 0, 0 },
00065 { "frames", Window::Frames, DontDelete|ReadOnly, 0, 0 },
00066 { 0, 0, 0, 0, 0 },
00067 { "screen", Window::_Screen, DontDelete|ReadOnly, 0, 0 },
00068 { "CSSRule", Window::CSSRule, DontDelete, 0, &WindowTableEntries[86] },
00069 { "length", Window::Length, DontDelete|ReadOnly, 0, &WindowTableEntries[88] },
00070 { "defaultstatus", Window::DefaultStatus, DontDelete, 0, &WindowTableEntries[89] },
00071 { "outerHeight", Window::OuterHeight, DontDelete|ReadOnly, 0, 0 },
00072 { "setTimeout", Window::SetTimeout, DontDelete|Function, 2, 0 },
00073 { "onkeydown", Window::Onkeydown, DontDelete, 0, 0 },
00074 { 0, 0, 0, 0, 0 },
00075 { "Node", Window::Node, DontDelete, 0, 0 },
00076 { "opener", Window::Opener, DontDelete|ReadOnly, 0, &WindowTableEntries[90] },
00077 { "parent", Window::Parent, DontDelete|ReadOnly, 0, 0 },
00078 { "DOMException", Window::DOMException, DontDelete, 0, 0 },
00079 { 0, 0, 0, 0, 0 },
00080 { "setInterval", Window::SetInterval, DontDelete|Function, 2, &WindowTableEntries[100] },
00081 { "konqueror", Window::_Konqueror, DontDelete|ReadOnly, 0, 0 },
00082 { "scroll", Window::Scroll, DontDelete|Function, 2, &WindowTableEntries[93] },
00083 { 0, 0, 0, 0, 0 },
00084 { 0, 0, 0, 0, 0 },
00085 { "onblur", Window::Onblur, DontDelete, 0, 0 },
00086 { "onmouseup", Window::Onmouseup, DontDelete, 0, 0 },
00087 { "NodeFilter", Window::NodeFilter, DontDelete, 0, &WindowTableEntries[96] },
00088 { "personalbar", Window::Personalbar, DontDelete|ReadOnly, 0, 0 },
00089 { 0, 0, 0, 0, 0 },
00090 { "onchange", Window::Onchange, DontDelete, 0, 0 },
00091 { "window", Window::_Window, DontDelete|ReadOnly, 0, &WindowTableEntries[95] },
00092 { "Range", Window::Range, DontDelete, 0, 0 },
00093 { 0, 0, 0, 0, 0 },
00094 { 0, 0, 0, 0, 0 },
00095 { "clearInterval", Window::ClearInterval, DontDelete|Function, 1, 0 },
00096 { 0, 0, 0, 0, 0 },
00097 { "scrollBy", Window::ScrollBy, DontDelete|Function, 2, 0 },
00098 { "offscreenBuffering", Window::OffscreenBuffering, DontDelete|ReadOnly, 0, &WindowTableEntries[99] },
00099 { 0, 0, 0, 0, 0 },
00100 { "crypto", Window::Crypto, DontDelete|ReadOnly, 0, &WindowTableEntries[92] },
00101 { "prompt", Window::Prompt, DontDelete|Function, 2, 0 },
00102 { "name", Window::Name, DontDelete, 0, 0 },
00103 { "status", Window::Status, DontDelete, 0, 0 },
00104 { "onkeypress", Window::Onkeypress, DontDelete, 0, 0 },
00105 { "scrollTo", Window::ScrollTo, DontDelete|Function, 2, 0 },
00106 { "clientInformation", Window::ClientInformation, DontDelete|ReadOnly, 0, &WindowTableEntries[102] },
00107 { 0, 0, 0, 0, 0 },
00108 { "resizeTo", Window::ResizeTo, DontDelete|Function, 2, 0 },
00109 { "onreset", Window::Onreset, DontDelete, 0, 0 },
00110 { "top", Window::Top, DontDelete|ReadOnly, 0, 0 },
00111 { "self", Window::Self, DontDelete|ReadOnly, 0, 0 },
00112 { "location", Window::_Location, DontDelete, 0, 0 },
00113 { "Event", Window::EventCtor, DontDelete, 0, &WindowTableEntries[87] },
00114 { "pageYOffset", Window::PageYOffset, DontDelete|ReadOnly, 0, 0 },
00115 { "outerWidth", Window::OuterWidth, DontDelete|ReadOnly, 0, 0 },
00116 { "pageXOffset", Window::PageXOffset, DontDelete|ReadOnly, 0, 0 },
00117 { "screenX", Window::ScreenX, DontDelete|ReadOnly, 0, &WindowTableEntries[101] },
00118 { "screenY", Window::ScreenY, DontDelete|ReadOnly, 0, &WindowTableEntries[97] },
00119 { "scrollbars", Window::Scrollbars, DontDelete|ReadOnly, 0, 0 },
00120 { "moveTo", Window::MoveTo, DontDelete|Function, 2, 0 },
00121 { "resizeBy", Window::ResizeBy, DontDelete|Function, 2, 0 },
00122 { "Image", Window::Image, DontDelete|ReadOnly, 0, 0 },
00123 { "alert", Window::Alert, DontDelete|Function, 1, 0 },
00124 { "confirm", Window::Confirm, DontDelete|Function, 1, 0 },
00125 { "clearTimeout", Window::ClearTimeout, DontDelete|Function, 1, &WindowTableEntries[104] },
00126 { "print", Window::Print, DontDelete|Function, 0, 0 },
00127 { "removeEventListener", Window::RemoveEventListener, DontDelete|Function, 3, 0 },
00128 { "onabort", Window::Onabort, DontDelete, 0, 0 },
00129 { "onclick", Window::Onclick, DontDelete, 0, 0 },
00130 { "ondragdrop", Window::Ondragdrop, DontDelete, 0, 0 },
00131 { "onfocus", Window::Onfocus, DontDelete, 0, 0 },
00132 { "onmousemove", Window::Onmousemove, DontDelete, 0, 0 },
00133 { "onmove", Window::Onmove, DontDelete, 0, 0 },
00134 { "onselect", Window::Onselect, DontDelete, 0, 0 },
00135 { "onunload", Window::Onunload, DontDelete, 0, 0 }
00136 };
00137
00138 const struct HashTable WindowTable = { 2, 107, WindowTableEntries, 86 };
00139
00140 }
00141
00142 using namespace KJS;
00143
00144 namespace KJS {
00145
00146 const struct HashEntry LocationTableEntries[] = {
00147 { "toString", Location::ToString, DontDelete|Function, 0, 0 },
00148 { 0, 0, 0, 0, 0 },
00149 { "hash", Location::Hash, DontDelete, 0, &LocationTableEntries[11] },
00150 { "href", Location::Href, DontDelete, 0, &LocationTableEntries[13] },
00151 { "reload", Location::Reload, DontDelete|Function, 0, 0 },
00152 { "hostname", Location::Hostname, DontDelete, 0, 0 },
00153 { "host", Location::Host, DontDelete, 0, &LocationTableEntries[14] },
00154 { "assign", Location::Assign, DontDelete|Function, 1, 0 },
00155 { 0, 0, 0, 0, 0 },
00156 { 0, 0, 0, 0, 0 },
00157 { "pathname", Location::Pathname, DontDelete, 0, 0 },
00158 { "port", Location::Port, DontDelete, 0, &LocationTableEntries[12] },
00159 { "protocol", Location::Protocol, DontDelete, 0, 0 },
00160 { "search", Location::Search, DontDelete, 0, 0 },
00161 { "[[==]]", Location::EqualEqual, DontDelete|ReadOnly, 0, &LocationTableEntries[15] },
00162 { "replace", Location::Replace, DontDelete|Function, 1, 0 }
00163 };
00164
00165 const struct HashTable LocationTable = { 2, 16, LocationTableEntries, 11 };
00166
00167 }
00168
00169 using namespace KJS;
00170
00171 namespace KJS {
00172
00173 const struct HashEntry HistoryTableEntries[] = {
00174 { 0, 0, 0, 0, 0 },
00175 { "back", History::Back, DontDelete|Function, 0, &HistoryTableEntries[4] },
00176 { "length", History::Length, DontDelete|ReadOnly, 0, &HistoryTableEntries[5] },
00177 { 0, 0, 0, 0, 0 },
00178 { "forward", History::Forward, DontDelete|Function, 0, 0 },
00179 { "go", History::Go, DontDelete|Function, 1, 0 }
00180 };
00181
00182 const struct HashTable HistoryTable = { 2, 6, HistoryTableEntries, 4 };
00183
00184 }