parser/xml/src/nsSAXLocator.h

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

michael@0 1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
michael@0 2 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 5
michael@0 6 #ifndef nsSAXLocator_h__
michael@0 7 #define nsSAXLocator_h__
michael@0 8
michael@0 9 #include "nsISAXLocator.h"
michael@0 10 #include "nsString.h"
michael@0 11 #include "mozilla/Attributes.h"
michael@0 12
michael@0 13 #define NS_SAXLOCATOR_CONTRACTID "@mozilla.org/saxparser/locator;1"
michael@0 14 #define NS_SAXLOCATOR_CID \
michael@0 15 {/* {c1cd4045-846b-43bb-a95e-745a3d7b40e0}*/ \
michael@0 16 0xc1cd4045, 0x846b, 0x43bb, \
michael@0 17 { 0xa9, 0x5e, 0x74, 0x5a, 0x3d, 0x7b, 0x40, 0xe0} }
michael@0 18
michael@0 19 class nsSAXLocator MOZ_FINAL : public nsISAXLocator
michael@0 20 {
michael@0 21 public:
michael@0 22 NS_DECL_ISUPPORTS
michael@0 23 NS_DECL_NSISAXLOCATOR
michael@0 24
michael@0 25 nsSAXLocator(nsString& aPublicId,
michael@0 26 nsString& aSystemId,
michael@0 27 int32_t aLineNumber,
michael@0 28 int32_t aColumnNumber);
michael@0 29
michael@0 30 private:
michael@0 31 nsString mPublicId;
michael@0 32 nsString mSystemId;
michael@0 33 int32_t mLineNumber;
michael@0 34 int32_t mColumnNumber;
michael@0 35 };
michael@0 36
michael@0 37 #endif //nsSAXLocator_h__

mercurial