pEpObjCAdapter/NSNumber+PEPRating+Internal.h
author Dirk Zimmermann <dz@pep.security>
Fri, 20 Sep 2019 17:00:26 +0200
branchIOSAD-132
changeset 1259 0cc3891ea776
parent 835 c28cefe5766c
permissions -rw-r--r--
IOSAD-132 Add PEPStatusCannotDeleteKey (PEP_CANNOT_DELETE_KEY).
dz@835
     1
//
dz@835
     2
//  NSNumber+PEPRating+Internal.h
dz@835
     3
//  pEpObjCAdapter
dz@835
     4
//
dz@835
     5
//  Created by Dirk Zimmermann on 28.02.19.
dz@835
     6
//  Copyright © 2019 p≡p. All rights reserved.
dz@835
     7
//
dz@835
     8
dz@835
     9
#ifndef NSNumber_PEPRating_Internal_h
dz@835
    10
#define NSNumber_PEPRating_Internal_h
dz@835
    11
dz@835
    12
#import <Foundation/Foundation.h>
dz@835
    13
dz@835
    14
#import "message_api.h"
dz@835
    15
dz@835
    16
/**
dz@835
    17
 Extension for wrapping the engine's PEP_rating inside a NSNumber.
dz@835
    18
 */
dz@835
    19
@interface NSNumber (Internal)
dz@835
    20
dz@835
    21
@property (nonatomic, readonly) PEP_rating pEpRatingInternal;
dz@835
    22
dz@835
    23
- initWithPEPRatingInternal:(PEP_rating)pEpRating;
dz@835
    24
dz@835
    25
+ (NSNumber *)numberWithPEPRatingInternal:(PEP_rating)pEpRating;
dz@835
    26
dz@835
    27
@end
dz@835
    28
dz@835
    29
#endif /* NSNumber_PEPRating_Internal_h */