diff options
Diffstat (limited to 'mailnews/mime/src/mimecth.cpp')
-rw-r--r-- | mailnews/mime/src/mimecth.cpp | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/mailnews/mime/src/mimecth.cpp b/mailnews/mime/src/mimecth.cpp new file mode 100644 index 000000000..1cfaba82c --- /dev/null +++ b/mailnews/mime/src/mimecth.cpp @@ -0,0 +1,51 @@ +/* -*- 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/. */ +#include "mimecth.h" + +/* + * These calls are necessary to expose the object class hierarchy + * to externally developed content type handlers. + */ +MimeInlineTextClass * +MIME_GetmimeInlineTextClass(void) +{ + return &mimeInlineTextClass; +} + +MimeLeafClass * +MIME_GetmimeLeafClass(void) +{ + return &mimeLeafClass; +} + +MimeObjectClass * +MIME_GetmimeObjectClass(void) +{ + return &mimeObjectClass; +} + +MimeContainerClass * +MIME_GetmimeContainerClass(void) +{ + return &mimeContainerClass; +} + +MimeMultipartClass * +MIME_GetmimeMultipartClass(void) +{ + return &mimeMultipartClass; +} + +MimeMultipartSignedClass * +MIME_GetmimeMultipartSignedClass(void) +{ + return &mimeMultipartSignedClass; +} + +MimeEncryptedClass * +MIME_GetmimeEncryptedClass(void) +{ + return &mimeEncryptedClass; +} |