OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2000 Peter Kelly (pmk@post.com) | 2 * Copyright (C) 2000 Peter Kelly (pmk@post.com) |
3 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. | 3 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 17 matching lines...) Expand all Loading... |
28 | 28 |
29 // FIXME: This abstract class is only here so that the JavaScript and Objective-
C bindings | 29 // FIXME: This abstract class is only here so that the JavaScript and Objective-
C bindings |
30 // can continue to be compiled. | 30 // can continue to be compiled. |
31 class Entity : public ContainerNode { | 31 class Entity : public ContainerNode { |
32 public: | 32 public: |
33 String publicId() const { ASSERT_NOT_REACHED(); return String(); } | 33 String publicId() const { ASSERT_NOT_REACHED(); return String(); } |
34 String systemId() const { ASSERT_NOT_REACHED(); return String(); } | 34 String systemId() const { ASSERT_NOT_REACHED(); return String(); } |
35 String notationName() const { ASSERT_NOT_REACHED(); return String(); } | 35 String notationName() const { ASSERT_NOT_REACHED(); return String(); } |
36 | 36 |
37 private: | 37 private: |
38 Entity() : ContainerNode(0) {} | 38 Entity() : ContainerNode(0) |
| 39 { |
| 40 ScriptWrappable::init(this); |
| 41 } |
39 }; | 42 }; |
40 | 43 |
41 } //namespace | 44 } //namespace |
42 | 45 |
43 #endif | 46 #endif |
OLD | NEW |