summaryrefslogtreecommitdiffstats
path: root/intl/locale/nsCollationFactory.h
blob: d6c98b4cca9b5789fc01faa8048be63296868191 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
 *
 * 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/. */
#ifndef nsCollationFactory_h__
#define nsCollationFactory_h__

#include "nsICollation.h"
#include "nsCOMPtr.h"
#include "mozilla/Attributes.h"

// Create a collation interface for the current app's locale.
//
class nsCollationFactory final : public nsICollationFactory {
  ~nsCollationFactory() = default;

 public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSICOLLATIONFACTORY

  nsCollationFactory() = default;
};

#endif /* nsCollationFactory_h__ */