author Patrick Cloke <>
Thu, 16 Oct 2014 18:05:41 -0400
changeset 20883 56fe4fac57d0916883a373cb7640681631ee0fe0
parent 12286 84ac3c71109811da751f0ef2d72108075938f094
child 27715 e0b1fb0cdc2930373a2b694b913f33e62db1ff80
permissions -rw-r--r--
Backout part of 2f79b0b939ed that's unrelated. a=Standard8

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* 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 */

#ifndef ImportTranslate_h___
#define ImportTranslate_h___

#include "nsStringGlue.h"
#include "nsImportTranslator.h"

class ImportTranslate {
  static bool ConvertString(const nsCString& inStr, nsCString& outStr, bool mimeHeader);
  static nsImportTranslator *GetTranslator(void);
  static nsImportTranslator *GetMatchingTranslator(const char *pCharSet);

  static int m_useTranslator;

#endif  /* ImportTranslate_h__ */