summaryrefslogtreecommitdiffstats
path: root/intl/locale/windows/nsCollationWin.h
blob: 901211344c21d577ba8405a377ac9ab42d5c687d (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
27
28
29
30
31
32
33
34
35

/* -*- 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 nsCollationWin_h__
#define nsCollationWin_h__


#include "nsICollation.h"
#include "nsCollation.h"  // static library
#include "plstr.h"



class nsCollationWin final : public nsICollation {
  ~nsCollationWin();

protected:
  nsCollation   *mCollation;  // XP collation class
  uint32_t      mLCID;        // Windows platform locale ID

public: 
  nsCollationWin();

  // nsISupports interface
  NS_DECL_ISUPPORTS

  // nsICollation interface
  NS_DECL_NSICOLLATION

};

#endif  /* nsCollationWin_h__ */