author Mark Banner <>
Mon, 28 Apr 2014 20:30:10 +0100
changeset 19701 ebcaac24ae6e0ba51d0e5da49bf823ca0b3822f1
parent 12286 84ac3c71109811da751f0ef2d72108075938f094
child 27715 e0b1fb0cdc2930373a2b694b913f33e62db1ff80
permissions -rw-r--r--
Added tag BETA_BASE_20140428 for changeset ffacfc0539ea a=betamerge DONTBUILD CLOSED TREE

/* -*- 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__ */