Bumping manifests a=b2g-bump
[gecko.git] / parser / xml / nsSAXLocator.h
blob22ea4f97ea66d4ecd78fd62f49918298de0fabc5
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
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 ~nsSAXLocator() {}
33 nsString mPublicId;
34 nsString mSystemId;
35 int32_t mLineNumber;
36 int32_t mColumnNumber;
39 #endif //nsSAXLocator_h__