/MIME/MimePart.h
C Header | 135 lines | 117 code | 7 blank | 11 comment | 0 complexity | 06f32f9a7d1df2cf1cf8793cacd80630 MD5 | raw file
- /**
- * This header is generated by class-dump-z 0.2-1.
- * class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.
- *
- * Source: /System/Library/PrivateFrameworks/MIME.framework/MIME
- */
- #import "WRObject.h"
- #import "MIME-Structs.h"
- #import "WeakReferenceHolder.h"
- #import "MimePart.h"
- @class NSString, MFData, NSData, NSMutableDictionary, PartialNetworkData;
- @interface MimePart : WRObject <WeakReferenceHolder> {
- NSString* _type;
- NSString* _subtype;
- NSMutableDictionary* _bodyParameters;
- NSString* _contentTransferEncoding;
- NSMutableDictionary* _otherIvars;
- NSRange _range;
- id _parentOrBody;
- MimePart* _nextPart;
- PartialNetworkData* _partialData;
- NSData* _fullData;
- MFData* _decodedData;
- }
- // inherited: +(void)initialize;
- +(BOOL)parseContentTypeHeader:(id)header type:(id*)type subtype:(id*)subtype;
- +(Class)attachmentClass;
- +(BOOL)isRecognizedClassForContent:(id)content;
- // in a protocol: -(void)dealloc;
- // inherited: -(id)init;
- -(id)type;
- -(void)setType:(id)type;
- -(id)subtype;
- -(void)setSubtype:(id)subtype;
- -(id)bodyParameterForKey:(id)key;
- -(void)setBodyParameter:(id)parameter forKey:(id)key;
- -(id)bodyParameterKeys;
- -(id)preservedHeaderValueForKey:(id)key;
- -(id)contentTransferEncoding;
- -(void)setContentTransferEncoding:(id)encoding;
- -(id)disposition;
- -(void)setDisposition:(id)disposition;
- -(id)dispositionParameterForKey:(id)key;
- -(void)setDispositionParameter:(id)parameter forKey:(id)key;
- -(id)dispositionParameterKeys;
- -(id)contentDescription;
- -(void)setContentDescription:(id)description;
- -(id)contentID;
- -(void)setContentID:(id)anId;
- -(id)contentLocation;
- -(void)setContentLocation:(id)location;
- -(id)languages;
- -(void)setLanguages:(id)languages;
- -(id)parentPart;
- -(id)firstChildPart;
- -(id)nextSiblingPart;
- -(id)subparts;
- -(id)subpartAtIndex:(int)index;
- // in a protocol: -(void)objectWillBeDeallocated:(id)object;
- -(void)setSubparts:(id)subparts;
- -(void)addSubpart:(id)subpart;
- -(NSRange)range;
- -(void)setRange:(NSRange)range;
- -(id)decodedDataForData:(id)data;
- -(id)mimeBody;
- -(void)setMimeBody:(id)body;
- // in a protocol: -(id)description;
- -(id)attachmentFilename;
- -(unsigned long)textEncoding;
- -(unsigned)approximateRawSize;
- -(BOOL)isReadableText;
- -(id)_partThatIsAttachment;
- -(BOOL)shouldConsiderInlineOverridingExchangeServer;
- -(BOOL)isAttachment;
- -(BOOL)isRich;
- -(BOOL)isHTML;
- -(BOOL)usesKnownSignatureProtocol;
- -(unsigned)totalTextSize;
- -(id)startPart;
- -(int)numberOfAlternatives;
- -(id)alternativeAtIndex:(int)index;
- -(id)signedData;
- -(id)textHtmlPart;
- -(id)decryptedMessageBodyIsEncrypted:(BOOL*)encrypted isSigned:(BOOL*)aSigned;
- -(void)clearCachedDescryptedMessageBody;
- -(id)fileWrapperForDecodedObject:(id)decodedObject withFileData:(id*)fileData;
- -(void)configureFileWrapper:(id)wrapper;
- -(id)fileWrapperForcingDownload:(BOOL)download;
- -(id)fileWrapper;
- -(void)storeData:(id)data inMessage:(id)message isComplete:(BOOL)complete;
- -(id)copyBodyDataToOffset:(unsigned)offset resultOffset:(unsigned*)offset2 downloadIfNecessary:(BOOL)necessary isComplete:(BOOL*)complete;
- -(id)copyBodyDataToOffset:(unsigned)offset resultOffset:(unsigned*)offset2;
- -(id)copyBodyDataToOffset:(unsigned)offset resultOffset:(unsigned*)offset2 downloadIfNecessary:(BOOL)necessary;
- -(id)bodyDataToOffset:(unsigned)offset resultOffset:(unsigned*)offset2 downloadIfNecessary:(BOOL)necessary;
- -(id)bodyDataForcingDownload:(BOOL)download;
- -(BOOL)_shouldContinueDecodingProcess;
- -(id)contentToOffset:(unsigned)offset resultOffset:(unsigned*)offset2 downloadIfNecessary:(BOOL)necessary asHTML:(BOOL)html isComplete:(BOOL*)complete;
- -(id)contentToOffset:(unsigned)offset resultOffset:(unsigned*)offset2 asHTML:(BOOL)html;
- -(id)contentToOffset:(unsigned)offset resultOffset:(unsigned*)offset2 downloadIfNecessary:(BOOL)necessary asHTML:(BOOL)html;
- -(unsigned)numberOfAttachments;
- -(void)getNumberOfAttachments:(unsigned*)attachments isSigned:(BOOL*)aSigned isEncrypted:(BOOL*)encrypted;
- -(id)attachments;
- @end
- @interface MimePart (DecodingSupport)
- -(id)chosenAlternativePart;
- -(id)_fullMimeTypeEvenInsideAppleDouble;
- -(id)decodeText;
- -(id)contentsForTextSystemToOffset:(unsigned)offset resultOffset:(unsigned*)offset2 downloadIfNecessary:(BOOL)necessary asHTML:(BOOL)html isComplete:(BOOL*)complete;
- -(id)contentsForTextSystemToOffset:(unsigned)offset resultOffset:(unsigned*)offset2 downloadIfNecessary:(BOOL)necessary asHTML:(BOOL)html;
- -(id)contentsForTextSystemToOffset:(unsigned)offset resultOffset:(unsigned*)offset2 downloadIfNecessary:(BOOL)necessary;
- -(id)contentsForTextSystemToOffset:(unsigned)offset resultOffset:(unsigned*)offset2;
- -(id)contentsForTextSystemForcingDownload:(BOOL)textSystemForcingDownload;
- -(id)contentsForTextSystem;
- -(id)decodeApplicationZip;
- -(id)decodeApplicationOctet_stream;
- -(id)decodeMultipartRelated;
- -(id)decodeMultipartAlternative;
- -(id)decodeMultipart;
- -(id)bodyDataToOffset:(unsigned)offset resultOffset:(unsigned*)offset2;
- -(id)bodyData;
- @end
- @interface MimePart (IMAPSupport)
- -(BOOL)parseIMAPPropertyList:(id)list;
- -(id)partNumber;
- @end
- @interface MimePart (MessageSupport)
- -(BOOL)parseMimeBody;
- @end