mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
898d0c9efb
--HG-- rename : parser/xml/public/nsIMozSAXXMLDeclarationHandler.idl => parser/xml/nsIMozSAXXMLDeclarationHandler.idl rename : parser/xml/public/nsISAXAttributes.idl => parser/xml/nsISAXAttributes.idl rename : parser/xml/public/nsISAXContentHandler.idl => parser/xml/nsISAXContentHandler.idl rename : parser/xml/public/nsISAXDTDHandler.idl => parser/xml/nsISAXDTDHandler.idl rename : parser/xml/public/nsISAXErrorHandler.idl => parser/xml/nsISAXErrorHandler.idl rename : parser/xml/public/nsISAXLexicalHandler.idl => parser/xml/nsISAXLexicalHandler.idl rename : parser/xml/public/nsISAXLocator.idl => parser/xml/nsISAXLocator.idl rename : parser/xml/public/nsISAXMutableAttributes.idl => parser/xml/nsISAXMutableAttributes.idl rename : parser/xml/public/nsISAXXMLFilter.idl => parser/xml/nsISAXXMLFilter.idl rename : parser/xml/public/nsISAXXMLReader.idl => parser/xml/nsISAXXMLReader.idl rename : parser/xml/src/nsSAXAttributes.cpp => parser/xml/nsSAXAttributes.cpp rename : parser/xml/src/nsSAXAttributes.h => parser/xml/nsSAXAttributes.h rename : parser/xml/src/nsSAXLocator.cpp => parser/xml/nsSAXLocator.cpp rename : parser/xml/src/nsSAXLocator.h => parser/xml/nsSAXLocator.h rename : parser/xml/src/nsSAXXMLReader.cpp => parser/xml/nsSAXXMLReader.cpp rename : parser/xml/src/nsSAXXMLReader.h => parser/xml/nsSAXXMLReader.h
40 lines
1.0 KiB
C++
40 lines
1.0 KiB
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 nsSAXLocator_h__
|
|
#define nsSAXLocator_h__
|
|
|
|
#include "nsISAXLocator.h"
|
|
#include "nsString.h"
|
|
#include "mozilla/Attributes.h"
|
|
|
|
#define NS_SAXLOCATOR_CONTRACTID "@mozilla.org/saxparser/locator;1"
|
|
#define NS_SAXLOCATOR_CID \
|
|
{/* {c1cd4045-846b-43bb-a95e-745a3d7b40e0}*/ \
|
|
0xc1cd4045, 0x846b, 0x43bb, \
|
|
{ 0xa9, 0x5e, 0x74, 0x5a, 0x3d, 0x7b, 0x40, 0xe0} }
|
|
|
|
class nsSAXLocator MOZ_FINAL : public nsISAXLocator
|
|
{
|
|
public:
|
|
NS_DECL_ISUPPORTS
|
|
NS_DECL_NSISAXLOCATOR
|
|
|
|
nsSAXLocator(nsString& aPublicId,
|
|
nsString& aSystemId,
|
|
int32_t aLineNumber,
|
|
int32_t aColumnNumber);
|
|
|
|
private:
|
|
~nsSAXLocator() {}
|
|
|
|
nsString mPublicId;
|
|
nsString mSystemId;
|
|
int32_t mLineNumber;
|
|
int32_t mColumnNumber;
|
|
};
|
|
|
|
#endif //nsSAXLocator_h__
|