2014-05-05 21:30:39 +04:00
|
|
|
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
|
2012-05-21 15:12:37 +04:00
|
|
|
/* 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/. */
|
2000-07-22 09:38:43 +04:00
|
|
|
|
|
|
|
#ifndef nsErrorService_h__
|
|
|
|
#define nsErrorService_h__
|
|
|
|
|
2011-11-21 10:21:16 +04:00
|
|
|
#include "mozilla/Attributes.h"
|
|
|
|
|
2000-07-22 09:38:43 +04:00
|
|
|
#include "nsIErrorService.h"
|
2014-05-10 00:47:37 +04:00
|
|
|
#include "nsClassHashtable.h"
|
|
|
|
#include "nsHashKeys.h"
|
2000-07-22 09:38:43 +04:00
|
|
|
|
2015-03-21 19:28:04 +03:00
|
|
|
class nsErrorService final : public nsIErrorService
|
2000-07-22 09:38:43 +04:00
|
|
|
{
|
|
|
|
public:
|
2014-05-05 21:30:39 +04:00
|
|
|
NS_DECL_ISUPPORTS
|
|
|
|
NS_DECL_NSIERRORSERVICE
|
2000-07-22 09:38:43 +04:00
|
|
|
|
2014-05-10 00:47:37 +04:00
|
|
|
nsErrorService()
|
|
|
|
{
|
|
|
|
}
|
2000-07-22 09:38:43 +04:00
|
|
|
|
2014-05-05 21:30:39 +04:00
|
|
|
static nsresult
|
2014-05-10 00:47:36 +04:00
|
|
|
Create(nsISupports* aOuter, const nsIID& aIID, void** aInstancePtr);
|
2000-07-22 09:38:43 +04:00
|
|
|
|
2004-01-15 09:14:18 +03:00
|
|
|
private:
|
2014-05-10 00:47:37 +04:00
|
|
|
~nsErrorService()
|
|
|
|
{
|
|
|
|
}
|
2004-01-15 09:14:18 +03:00
|
|
|
|
2014-05-10 00:47:37 +04:00
|
|
|
nsClassHashtable<nsUint32HashKey, nsCString> mErrorStringBundleURLMap;
|
2000-07-22 09:38:43 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // nsErrorService_h__
|