diff options
Diffstat (limited to 'Source/WebCore/bindings/scripts/test/CPP/WebDOMTestNode.cpp')
-rw-r--r-- | Source/WebCore/bindings/scripts/test/CPP/WebDOMTestNode.cpp | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestNode.cpp b/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestNode.cpp new file mode 100644 index 000000000..ce1449a04 --- /dev/null +++ b/Source/WebCore/bindings/scripts/test/CPP/WebDOMTestNode.cpp @@ -0,0 +1,52 @@ +/* + * This file is part of the WebKit open source project. + * This file has been generated by generate-bindings.pl. DO NOT MODIFY! + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public License + * along with this library; see the file COPYING.LIB. If not, write to + * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + +#include "config.h" +#include "WebDOMTestNode.h" + +#include "TestNode.h" +#include "WebExceptionHandler.h" +#include <wtf/GetPtr.h> +#include <wtf/RefPtr.h> + +WebDOMTestNode::WebDOMTestNode() + : WebDOMNode() +{ +} + +WebDOMTestNode::WebDOMTestNode(WebCore::TestNode* impl) + : WebDOMNode(impl) +{ +} + +WebCore::TestNode* WebDOMTestNode::impl() const +{ + return static_cast<WebCore::TestNode*>(WebDOMNode::impl()); +} + +WebCore::TestNode* toWebCore(const WebDOMTestNode& wrapper) +{ + return wrapper.impl(); +} + +WebDOMTestNode toWebKit(WebCore::TestNode* value) +{ + return WebDOMTestNode(value); +} |