gecko/content/svg/document/src/nsSVGDocument.h
Peter Van der Beken 57adeb4354 Fix for bug 773780 (Add API for new DOM bindings for Node). r=bz.
--HG--
extra : rebase_source : 5dd51c4ad5274da9235c8c341b0531f234e95a91
2012-10-09 14:31:24 +02:00

30 lines
885 B
C++

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef nsSVGDocument_h__
#define nsSVGDocument_h__
#include "nsXMLDocument.h"
#include "nsIDOMSVGDocument.h"
class nsSVGDocument : public nsXMLDocument,
public nsIDOMSVGDocument
{
public:
using nsDocument::GetElementById;
using nsDocument::SetDocumentURI;
nsSVGDocument();
virtual ~nsSVGDocument();
NS_DECL_NSIDOMSVGDOCUMENT
NS_FORWARD_NSIDOMDOCUMENT(nsXMLDocument::)
NS_FORWARD_NSIDOMNODE_TO_NSINODE
NS_DECL_ISUPPORTS_INHERITED
virtual nsresult Clone(nsINodeInfo *aNodeInfo, nsINode **aResult) const;
virtual nsXPCClassInfo* GetClassInfo();
};
#endif