pEpObjCAdapterFramework/PEPAttachment.h
branchIOS-1480
changeset 860 3276a0d35d09
parent 859 b2ca1a12396c
child 902 32760267cd59
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pEpObjCAdapterFramework/PEPAttachment.h	Fri Mar 01 16:03:28 2019 +0100
     1.3 @@ -0,0 +1,23 @@
     1.4 +//
     1.5 +//  PEPAttachment.h
     1.6 +//  pEpObjCAdapter
     1.7 +//
     1.8 +//  Created by Dirk Zimmermann on 16.04.18.
     1.9 +//  Copyright © 2018 p≡p. All rights reserved.
    1.10 +//
    1.11 +
    1.12 +#import <Foundation/Foundation.h>
    1.13 +
    1.14 +#import <PEPObjCAdapterFramework/PEPEngineTypes.h>
    1.15 +
    1.16 +@interface PEPAttachment : NSObject
    1.17 +
    1.18 +@property (nonatomic) NSData *data;
    1.19 +@property (nonatomic) NSInteger size;
    1.20 +@property (nonatomic, nullable) NSString *mimeType;
    1.21 +@property (nonatomic, nullable) NSString *filename;
    1.22 +@property (nonatomic) PEPContentDisposition contentDisposition;
    1.23 +
    1.24 +- (_Nonnull instancetype)initWithData:(NSData *)data;
    1.25 +
    1.26 +@end