intl/locale/src/unix/nsCollationUnix.h

Wed, 31 Dec 2014 07:22:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:22:50 +0100
branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
permissions
-rw-r--r--

Correct previous dual key logic pending first delivery installment.

     2 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
     3  *
     4  * This Source Code Form is subject to the terms of the Mozilla Public
     5  * License, v. 2.0. If a copy of the MPL was not distributed with this
     6  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     7 #ifndef nsCollationUnix_h__
     8 #define nsCollationUnix_h__
    11 #include "nsICollation.h"
    12 #include "nsCollation.h"  // static library
    13 #include "plstr.h"
    14 #include "mozilla/Attributes.h"
    15 #include "nsString.h"
    19 class nsCollationUnix MOZ_FINAL : public nsICollation {
    21 protected:
    22   nsCollation   *mCollation;
    23   nsCString     mLocale;
    24   nsCString     mSavedLocale;
    25   bool          mUseCodePointOrder;
    27   void DoSetLocale();
    28   void DoRestoreLocale();
    30 public: 
    31   nsCollationUnix();
    32   ~nsCollationUnix(); 
    34   // nsISupports interface
    35   NS_DECL_ISUPPORTS
    37   // nsICollation interface
    38   NS_DECL_NSICOLLATION
    40 };
    42 #endif  /* nsCollationUnix_h__ */

mercurial