зеркало из https://github.com/mozilla/pjs.git
Update for header defines
This commit is contained in:
Родитель
0a27dec66b
Коммит
365849db48
|
@ -31,6 +31,12 @@
|
||||||
{ 0xfb953da, 0xd0b5, 0x11d2, \
|
{ 0xfb953da, 0xd0b5, 0x11d2, \
|
||||||
{ 0xb3, 0x73, 0x52, 0x54, 0x0, 0xe2, 0xd6, 0x3a } };
|
{ 0xb3, 0x73, 0x52, 0x54, 0x0, 0xe2, 0xd6, 0x3a } };
|
||||||
|
|
||||||
|
// default line length for calling the encoder
|
||||||
|
#define kMIME_ENCODED_WORD_SIZE 72
|
||||||
|
|
||||||
|
// Max length of charset name.
|
||||||
|
#define kMAX_CSNAME 64
|
||||||
|
|
||||||
class nsIMimeHeaderConverter : public nsISupports {
|
class nsIMimeHeaderConverter : public nsISupports {
|
||||||
public:
|
public:
|
||||||
static const nsIID& IID() { static nsIID iid = NS_IMIME_HEADER_CONVERTER_IID; return iid; }
|
static const nsIID& IID() { static nsIID iid = NS_IMIME_HEADER_CONVERTER_IID; return iid; }
|
||||||
|
@ -44,10 +50,10 @@ public:
|
||||||
char **decodedString) = 0;
|
char **decodedString) = 0;
|
||||||
|
|
||||||
// Encode routine
|
// Encode routine
|
||||||
NS_IMETHOD EncodeMimePartIIStr(const char *header,
|
NS_IMETHOD EncodeMimePartIIStr(const char *header,
|
||||||
const char *mailCharset,
|
const char *mailCharset,
|
||||||
PRInt32 encodedWordSize,
|
const PRInt32 encodedWordSize,
|
||||||
char **encodedString) = 0;
|
char **encodedString) = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* nsIMimeHeaderConverter_h_ */
|
#endif /* nsIMimeHeaderConverter_h_ */
|
||||||
|
|
Загрузка…
Ссылка в новой задаче