PageRenderTime 56ms CodeModel.GetById 20ms RepoModel.GetById 1ms app.codeStats 0ms

/MIME/MimePart.h

http://github.com/kennytm/iphone-private-frameworks
C Header | 135 lines | 117 code | 7 blank | 11 comment | 0 complexity | 06f32f9a7d1df2cf1cf8793cacd80630 MD5 | raw file
  1. /**
  2. * This header is generated by class-dump-z 0.2-1.
  3. * class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.
  4. *
  5. * Source: /System/Library/PrivateFrameworks/MIME.framework/MIME
  6. */
  7. #import "WRObject.h"
  8. #import "MIME-Structs.h"
  9. #import "WeakReferenceHolder.h"
  10. #import "MimePart.h"
  11. @class NSString, MFData, NSData, NSMutableDictionary, PartialNetworkData;
  12. @interface MimePart : WRObject <WeakReferenceHolder> {
  13. NSString* _type;
  14. NSString* _subtype;
  15. NSMutableDictionary* _bodyParameters;
  16. NSString* _contentTransferEncoding;
  17. NSMutableDictionary* _otherIvars;
  18. NSRange _range;
  19. id _parentOrBody;
  20. MimePart* _nextPart;
  21. PartialNetworkData* _partialData;
  22. NSData* _fullData;
  23. MFData* _decodedData;
  24. }
  25. // inherited: +(void)initialize;
  26. +(BOOL)parseContentTypeHeader:(id)header type:(id*)type subtype:(id*)subtype;
  27. +(Class)attachmentClass;
  28. +(BOOL)isRecognizedClassForContent:(id)content;
  29. // in a protocol: -(void)dealloc;
  30. // inherited: -(id)init;
  31. -(id)type;
  32. -(void)setType:(id)type;
  33. -(id)subtype;
  34. -(void)setSubtype:(id)subtype;
  35. -(id)bodyParameterForKey:(id)key;
  36. -(void)setBodyParameter:(id)parameter forKey:(id)key;
  37. -(id)bodyParameterKeys;
  38. -(id)preservedHeaderValueForKey:(id)key;
  39. -(id)contentTransferEncoding;
  40. -(void)setContentTransferEncoding:(id)encoding;
  41. -(id)disposition;
  42. -(void)setDisposition:(id)disposition;
  43. -(id)dispositionParameterForKey:(id)key;
  44. -(void)setDispositionParameter:(id)parameter forKey:(id)key;
  45. -(id)dispositionParameterKeys;
  46. -(id)contentDescription;
  47. -(void)setContentDescription:(id)description;
  48. -(id)contentID;
  49. -(void)setContentID:(id)anId;
  50. -(id)contentLocation;
  51. -(void)setContentLocation:(id)location;
  52. -(id)languages;
  53. -(void)setLanguages:(id)languages;
  54. -(id)parentPart;
  55. -(id)firstChildPart;
  56. -(id)nextSiblingPart;
  57. -(id)subparts;
  58. -(id)subpartAtIndex:(int)index;
  59. // in a protocol: -(void)objectWillBeDeallocated:(id)object;
  60. -(void)setSubparts:(id)subparts;
  61. -(void)addSubpart:(id)subpart;
  62. -(NSRange)range;
  63. -(void)setRange:(NSRange)range;
  64. -(id)decodedDataForData:(id)data;
  65. -(id)mimeBody;
  66. -(void)setMimeBody:(id)body;
  67. // in a protocol: -(id)description;
  68. -(id)attachmentFilename;
  69. -(unsigned long)textEncoding;
  70. -(unsigned)approximateRawSize;
  71. -(BOOL)isReadableText;
  72. -(id)_partThatIsAttachment;
  73. -(BOOL)shouldConsiderInlineOverridingExchangeServer;
  74. -(BOOL)isAttachment;
  75. -(BOOL)isRich;
  76. -(BOOL)isHTML;
  77. -(BOOL)usesKnownSignatureProtocol;
  78. -(unsigned)totalTextSize;
  79. -(id)startPart;
  80. -(int)numberOfAlternatives;
  81. -(id)alternativeAtIndex:(int)index;
  82. -(id)signedData;
  83. -(id)textHtmlPart;
  84. -(id)decryptedMessageBodyIsEncrypted:(BOOL*)encrypted isSigned:(BOOL*)aSigned;
  85. -(void)clearCachedDescryptedMessageBody;
  86. -(id)fileWrapperForDecodedObject:(id)decodedObject withFileData:(id*)fileData;
  87. -(void)configureFileWrapper:(id)wrapper;
  88. -(id)fileWrapperForcingDownload:(BOOL)download;
  89. -(id)fileWrapper;
  90. -(void)storeData:(id)data inMessage:(id)message isComplete:(BOOL)complete;
  91. -(id)copyBodyDataToOffset:(unsigned)offset resultOffset:(unsigned*)offset2 downloadIfNecessary:(BOOL)necessary isComplete:(BOOL*)complete;
  92. -(id)copyBodyDataToOffset:(unsigned)offset resultOffset:(unsigned*)offset2;
  93. -(id)copyBodyDataToOffset:(unsigned)offset resultOffset:(unsigned*)offset2 downloadIfNecessary:(BOOL)necessary;
  94. -(id)bodyDataToOffset:(unsigned)offset resultOffset:(unsigned*)offset2 downloadIfNecessary:(BOOL)necessary;
  95. -(id)bodyDataForcingDownload:(BOOL)download;
  96. -(BOOL)_shouldContinueDecodingProcess;
  97. -(id)contentToOffset:(unsigned)offset resultOffset:(unsigned*)offset2 downloadIfNecessary:(BOOL)necessary asHTML:(BOOL)html isComplete:(BOOL*)complete;
  98. -(id)contentToOffset:(unsigned)offset resultOffset:(unsigned*)offset2 asHTML:(BOOL)html;
  99. -(id)contentToOffset:(unsigned)offset resultOffset:(unsigned*)offset2 downloadIfNecessary:(BOOL)necessary asHTML:(BOOL)html;
  100. -(unsigned)numberOfAttachments;
  101. -(void)getNumberOfAttachments:(unsigned*)attachments isSigned:(BOOL*)aSigned isEncrypted:(BOOL*)encrypted;
  102. -(id)attachments;
  103. @end
  104. @interface MimePart (DecodingSupport)
  105. -(id)chosenAlternativePart;
  106. -(id)_fullMimeTypeEvenInsideAppleDouble;
  107. -(id)decodeText;
  108. -(id)contentsForTextSystemToOffset:(unsigned)offset resultOffset:(unsigned*)offset2 downloadIfNecessary:(BOOL)necessary asHTML:(BOOL)html isComplete:(BOOL*)complete;
  109. -(id)contentsForTextSystemToOffset:(unsigned)offset resultOffset:(unsigned*)offset2 downloadIfNecessary:(BOOL)necessary asHTML:(BOOL)html;
  110. -(id)contentsForTextSystemToOffset:(unsigned)offset resultOffset:(unsigned*)offset2 downloadIfNecessary:(BOOL)necessary;
  111. -(id)contentsForTextSystemToOffset:(unsigned)offset resultOffset:(unsigned*)offset2;
  112. -(id)contentsForTextSystemForcingDownload:(BOOL)textSystemForcingDownload;
  113. -(id)contentsForTextSystem;
  114. -(id)decodeApplicationZip;
  115. -(id)decodeApplicationOctet_stream;
  116. -(id)decodeMultipartRelated;
  117. -(id)decodeMultipartAlternative;
  118. -(id)decodeMultipart;
  119. -(id)bodyDataToOffset:(unsigned)offset resultOffset:(unsigned*)offset2;
  120. -(id)bodyData;
  121. @end
  122. @interface MimePart (IMAPSupport)
  123. -(BOOL)parseIMAPPropertyList:(id)list;
  124. -(id)partNumber;
  125. @end
  126. @interface MimePart (MessageSupport)
  127. -(BOOL)parseMimeBody;
  128. @end