2001-09-29 00:14:13 +04:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 15:12:37 +04:00
|
|
|
/* 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/. */
|
2000-10-07 10:58:49 +04:00
|
|
|
|
|
|
|
#ifndef nsHTMLFormatConverter_h__
|
|
|
|
#define nsHTMLFormatConverter_h__
|
|
|
|
|
2016-10-16 22:43:56 +03:00
|
|
|
#include "nsCOMPtr.h"
|
2000-10-07 10:58:49 +04:00
|
|
|
#include "nsIFormatConverter.h"
|
|
|
|
#include "nsString.h"
|
|
|
|
|
2016-10-16 22:43:56 +03:00
|
|
|
class nsIMutableArray;
|
|
|
|
|
2000-10-07 10:58:49 +04:00
|
|
|
class nsHTMLFormatConverter : public nsIFormatConverter
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
|
|
|
nsHTMLFormatConverter();
|
|
|
|
|
2014-06-24 20:36:44 +04:00
|
|
|
// nsISupports
|
2000-10-07 10:58:49 +04:00
|
|
|
NS_DECL_ISUPPORTS
|
2003-04-19 00:20:04 +04:00
|
|
|
NS_DECL_NSIFORMATCONVERTER
|
2000-10-07 10:58:49 +04:00
|
|
|
|
|
|
|
protected:
|
2014-06-24 20:36:44 +04:00
|
|
|
virtual ~nsHTMLFormatConverter();
|
2000-10-07 10:58:49 +04:00
|
|
|
|
|
|
|
NS_IMETHOD ConvertFromHTMLToUnicode(const nsAutoString & aFromStr, nsAutoString & aToStr);
|
|
|
|
NS_IMETHOD ConvertFromHTMLToAOLMail(const nsAutoString & aFromStr, nsAutoString & aToStr);
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // nsHTMLFormatConverter_h__
|