1999-01-21 04:28:27 +03:00
|
|
|
|
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
|
|
*
|
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/. */
|
2017-03-23 07:42:00 +03:00
|
|
|
#ifndef nsCollationFactory_h__
|
|
|
|
#define nsCollationFactory_h__
|
1999-01-21 04:28:27 +03:00
|
|
|
|
|
|
|
#include "nsICollation.h"
|
2001-02-14 03:02:45 +03:00
|
|
|
#include "nsCOMPtr.h"
|
2012-06-06 06:14:46 +04:00
|
|
|
#include "mozilla/Attributes.h"
|
1999-01-21 04:28:27 +03:00
|
|
|
|
2017-02-07 23:52:03 +03:00
|
|
|
// Create a collation interface for the current app's locale.
|
2017-07-06 15:00:35 +03:00
|
|
|
//
|
2015-03-21 19:28:04 +03:00
|
|
|
class nsCollationFactory final : public nsICollationFactory {
|
2014-06-24 02:40:02 +04:00
|
|
|
~nsCollationFactory() {}
|
|
|
|
|
2017-07-06 15:00:35 +03:00
|
|
|
public:
|
2017-03-23 07:42:00 +03:00
|
|
|
NS_DECL_ISUPPORTS
|
|
|
|
NS_DECL_NSICOLLATIONFACTORY
|
1999-01-21 04:28:27 +03:00
|
|
|
|
2007-04-23 18:21:53 +04:00
|
|
|
nsCollationFactory() {}
|
1999-01-21 04:28:27 +03:00
|
|
|
};
|
|
|
|
|
2017-03-23 07:42:00 +03:00
|
|
|
#endif /* nsCollationFactory_h__ */
|