+2005-05-24 Darin Adler <darin@apple.com>
+
+ - another gcc 4.0 fix
+
+ No new test cases needed.
+
+ * khtml/dom/dom2_events.cpp: Moved constants out of the KHTML_NO_CPLUSPLUS_DOM #if.
+
2005-05-24 Darin Adler <darin@apple.com>
Reviewed by Vicki.
#endif
-using namespace DOM;
+namespace DOM {
+
+const unsigned long KeyboardEvent::DOM_KEY_LOCATION_STANDARD;
+const unsigned long KeyboardEvent::DOM_KEY_LOCATION_LEFT;
+const unsigned long KeyboardEvent::DOM_KEY_LOCATION_RIGHT;
+const unsigned long KeyboardEvent::DOM_KEY_LOCATION_NUMPAD;
+const unsigned long KeyboardEvent::DOM_KEY_LOCATION_UNKNOWN;
+
+// -----------------------------------------------------------------------------
EventListener::EventListener()
{
newValueArg,attrNameArg,attrChangeArg);
}
-
// -----------------------------------------------------------------------------
-const unsigned long KeyboardEvent::DOM_KEY_LOCATION_STANDARD;
-const unsigned long KeyboardEvent::DOM_KEY_LOCATION_LEFT;
-const unsigned long KeyboardEvent::DOM_KEY_LOCATION_RIGHT;
-const unsigned long KeyboardEvent::DOM_KEY_LOCATION_NUMPAD;
-const unsigned long KeyboardEvent::DOM_KEY_LOCATION_UNKNOWN;
-
KeyboardEvent::KeyboardEvent()
{
}
}
#endif
+
+} // namespace