add progid

git-svn-id: svn://10.0.0.236/trunk@30993 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ftang%netscape.com
1999-05-10 22:22:01 +00:00
parent c878914bd1
commit 73b402e097
5 changed files with 11 additions and 0 deletions

View File

@@ -32,6 +32,7 @@ NS_DECLARE_ID(kICharsetAliasIID,\
NS_DECLARE_ID(kCharsetAliasCID,\
0x98d41c21, 0xccf3, 0x11d2, 0xb3, 0xb1, 0x0, 0x80, 0x5f, 0x8a, 0x66, 0x70 );
#define NS_CHARSETALIAS_PROGID "component://netscape/intl/charsetalias"
class nsICharsetAlias : public nsISupports
{

View File

@@ -36,6 +36,8 @@ NS_DECLARE_ID(kICharsetConverterManagerIID,
NS_DECLARE_ID(kCharsetConverterManagerCID,
0x1e3f79f1, 0x6b6b, 0x11d2, 0x8a, 0x86, 0x0, 0x60, 0x8, 0x11, 0xa8, 0x36);
#define NS_CHARSETCONVERTERMANAGER_PROGID "componment://netscape/intl/charsetconvertermanager"
#define NS_ERROR_UCONV_NOCONV \
NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_UCONV,1)

View File

@@ -35,6 +35,8 @@ NS_DECLARE_ID(kIPlatformCharsetIID,
NS_DECLARE_ID(kPlatformCharsetCID,
0x84b0f182, 0xc6c7, 0x11d2, 0xb3, 0xb0, 0x0, 0x80, 0x5f, 0x8a, 0x66, 0x70 );
#define NS_PLATFORMCHARSET_PROGID "component://netscape/intl/platformcharset"
typedef enum {
kPlatformCharsetSel_PlainTextInClipboard = 0,
kPlatformCharsetSel_FileName = 1,

View File

@@ -56,6 +56,9 @@ NS_DECLARE_ID(kIUnicodeDecoderIID,
#define NS_ERROR_UDEC_ILLEGALINPUT \
NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_UCONV, 14)
#define NS_UNICODEDECODER_PROGID_BASE "component://netscape/intl/unicode/decoder?charset="
/**
* Interface for a Converter from a Charset into Unicode.
*

View File

@@ -43,6 +43,9 @@ NS_DECLARE_ID(kIUnicharEncoderIID,
#define NS_ERROR_UENC_NOMAPPING \
NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_UCONV, 0x23)
#define NS_UNICODEENCODER_PROGID_BASE "component://netscape/intl/unicode/encoder?charset="
/**
* Interface which converts a single character from Unicode into a given
* charset.