pEpObjCAdapterFramework/PEPAttachment.h
author Dirk Zimmermann <dz@pep.security>
Fri, 20 Sep 2019 10:01:48 +0200
branchIOSAD-141
changeset 1250 b6a4d30abd26
parent 963 9c02a7b7b8ec
child 1047 b9068a05fbcd
permissions -rw-r--r--
IOSAD-141 Test for "hammering" the engine.
     1 //
     2 //  PEPAttachment.h
     3 //  pEpObjCAdapter
     4 //
     5 //  Created by Dirk Zimmermann on 16.04.18.
     6 //  Copyright © 2018 p≡p. All rights reserved.
     7 //
     8 
     9 #import <Foundation/Foundation.h>
    10 
    11 #import "PEPEngineTypes.h"
    12 
    13 @interface PEPAttachment : NSObject
    14 
    15 @property (nonatomic, nonnull) NSData *data;
    16 @property (nonatomic) NSInteger size;
    17 @property (nonatomic, nullable) NSString *mimeType;
    18 @property (nonatomic, nullable) NSString *filename;
    19 @property (nonatomic) PEPContentDisposition contentDisposition;
    20 
    21 - (_Nonnull instancetype)initWithData:(NSData * _Nonnull)data;
    22 
    23 @end