diff --git a/intl/chardet/public/MANIFEST b/intl/chardet/public/MANIFEST index 53aae9318f22..97d4734daa65 100644 --- a/intl/chardet/public/MANIFEST +++ b/intl/chardet/public/MANIFEST @@ -8,3 +8,4 @@ nsIStringCharsetDetector.h nsIXMLEncodingService.h nsMetaCharsetCID.h nsXMLEncodingCID.h +nsIDocumentCharsetInfo.h diff --git a/intl/chardet/public/Makefile.in b/intl/chardet/public/Makefile.in index 74989d974d60..574de49aad44 100644 --- a/intl/chardet/public/Makefile.in +++ b/intl/chardet/public/Makefile.in @@ -39,6 +39,7 @@ EXPORTS = \ nsIXMLEncodingService.h \ nsMetaCharsetCID.h \ nsXMLEncodingCID.h \ + nsIDocumentCharsetInfo.h \ $(NULL) EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS)) diff --git a/intl/chardet/public/makefile.win b/intl/chardet/public/makefile.win index e71e49e430d1..2ad5cabc18a5 100644 --- a/intl/chardet/public/makefile.win +++ b/intl/chardet/public/makefile.win @@ -33,6 +33,7 @@ EXPORTS = \ nsIXMLEncodingService.h \ nsMetaCharsetCID.h \ nsXMLEncodingCID.h \ + nsIDocumentCharsetInfo.h \ $(NULL) MODULE=chardet diff --git a/intl/chardet/public/nsIDocumentCharsetInfo.h b/intl/chardet/public/nsIDocumentCharsetInfo.h new file mode 100644 index 000000000000..b4957bb840b0 --- /dev/null +++ b/intl/chardet/public/nsIDocumentCharsetInfo.h @@ -0,0 +1,37 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- + * + * The contents of this file are subject to the Netscape Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/NPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Netscape + * Communications Corporation. Portions created by Netscape are + * Copyright (C) 1998 Netscape Communications Corporation. All + * Rights Reserved. + * + * Contributor(s): + */ + +#ifndef nsIDocumentCharsetInfo_h__ +#define nsIDocumentCharsetInfo_h__ +#include "nsISupports.h" + + +// {2D40B291-01E1-11d4-9D0E-0050040007B2} +#define NS_IDOCUMENTCHARSETINFO_IID \ +{ 0x2d40b291, 0x1e1, 0x11d4, { 0x9d, 0xe, 0x0, 0x50, 0x4, 0x0, 0x7, 0xb2 } } + +class nsIDocumentCharsetInfo : public nsISupports { +public: + NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOCUMENTCHARSETINFO_IID) +}; + +#endif // nsIDocumentCharsetInfo_h__