diff options
Diffstat (limited to 'intl/locale/windows/nsCollationWin.h')
-rw-r--r-- | intl/locale/windows/nsCollationWin.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/intl/locale/windows/nsCollationWin.h b/intl/locale/windows/nsCollationWin.h new file mode 100644 index 000000000..901211344 --- /dev/null +++ b/intl/locale/windows/nsCollationWin.h @@ -0,0 +1,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__ */ |