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