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.

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

mercurial