mailnews/mime/src/mimeTextHTMLParsed.h
author Jorg K <jorgk@jorgk.com>
Tue, 04 Dec 2018 18:38:23 +0100
changeset 31966 e4d520b5dc17e8a0e3ba4d760556b1ba4aad4842
parent 31521 5f006e51c11d21b00a35cf67ef88ba99207fa68a
permissions -rw-r--r--
Backed out changeset a6e340fe4c07 and 7fe1827e6b39 (bug 1482040) for causing address book and auto-complete slowness (bug 1511885). a=backout Backed out changeset a6e340fe4c07 (bug 1482040) Backed out changeset 7fe1827e6b39 (bug 1482040)

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

#ifndef _MIMETEXTHTMLPARSED_H_
#define _MIMETEXTHTMLPARSED_H_

#include "mimethtm.h"

typedef struct MimeInlineTextHTMLParsedClass MimeInlineTextHTMLParsedClass;
typedef struct MimeInlineTextHTMLParsed      MimeInlineTextHTMLParsed;

struct MimeInlineTextHTMLParsedClass {
  MimeInlineTextHTMLClass html;
};

extern MimeInlineTextHTMLParsedClass mimeInlineTextHTMLParsedClass;

struct MimeInlineTextHTMLParsed {
  MimeInlineTextHTML    html;
  nsString             *complete_buffer;  // Gecko parser expects wide strings
};

#define MimeInlineTextHTMLParsedClassInitializer(ITYPE,CSUPER) \
  { MimeInlineTextHTMLClassInitializer(ITYPE,CSUPER) }

#endif /* _MIMETEXTHTMLPARSED_H_ */