First checked in. NOT part of the build yet. These are the beginning of a new structure for the mime emitters

which basically compresses all of them into one library instead of 3 separate shared libraries.
This commit is contained in:
mscott%netscape.com 1999-06-11 21:00:20 +00:00
parent b2f0818d4c
commit 18deae8174
2 changed files with 102 additions and 0 deletions

View File

@ -0,0 +1,61 @@
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
#
# emitterhtml.dll
# =====================
# This is a mime emitter that is responsible for outputting HTML
# representations of RFC822 messages
#
DEPTH=..\..\..\..
MODULE=mimeemitter
################################################################################
## exports
EXPORTS = \
nsMimeEmitterCID.h \
$(NULL)
################################################################################
## library
LIBNAME = .\$(OBJDIR)\mimeemitter
DLL = $(LIBNAME).dll
DEFINES= -NS_DEBUG
OBJS= \
.\$(OBJDIR)\nsEmitterFactory.obj \
$(NULL)
LLIBS= \
$(LLIBS) \
$(LIBNSPR) \
$(DIST)\lib\xppref32.lib \
$(DIST)\lib\mimetype.lib \
$(DIST)\lib\xpcom.lib \
$(DIST)\lib\emitterutils_s.lib \
$(NULL)
MISCDEP=$(LLIBS)
include <$(DEPTH)\config\rules.mak>
install:: $(DLL)
$(MAKE_INSTALL) $(LIBNAME).$(DLL_SUFFIX) $(DIST)\bin\components
$(MAKE_INSTALL) $(LIBNAME).$(LIB_SUFFIX) $(DIST)\lib

View File

@ -0,0 +1,41 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsMimeEmitterCID_h__
#define nsMimeEmitterCID_h__
#include "nsISupports.h"
#include "nsIFactory.h"
#include "nsIComponentManager.h"
// {F0A8AF16-DCCE-11d2-A411-00805F613C79}
#define NS_HTML_MIME_EMITTER_CID \
{ 0xf0a8af16, 0xdcce, 0x11d2, \
{ 0xa4, 0x11, 0x0, 0x80, 0x5f, 0x61, 0x3c, 0x79 } }
// {977E418F-E392-11d2-A2AC-00A024A7D144}
#define NS_XML_MIME_EMITTER_CID \
{ 0x977e418f, 0xe392, 0x11d2, \
{ 0xa2, 0xac, 0x0, 0xa0, 0x24, 0xa7, 0xd1, 0x44 } }
// {F0A8AF16-DCFF-11d2-A411-00805F613C79}
#define NS_RAW_MIME_EMITTER_CID \
{ 0xf0a8af16, 0xdcff, 0x11d2, \
{ 0xa4, 0x11, 0x0, 0x80, 0x5f, 0x61, 0x3c, 0x79 } }
#endif // nsMimeEmitterCID_h__