pEpObjCAdapterFramework/NSNumber+PEPRating.h
author Dirk Zimmermann <dz@pep.security>
Fri, 20 Sep 2019 10:01:48 +0200
branchIOSAD-141
changeset 1250 b6a4d30abd26
parent 902 32760267cd59
permissions -rw-r--r--
IOSAD-141 Test for "hammering" the engine.
dirk@569
     1
//
dirk@569
     2
//  NSNumber+PEPRating.h
dirk@569
     3
//  pEpObjCAdapter
dirk@569
     4
//
dirk@569
     5
//  Created by Dirk Zimmermann on 13.04.18.
dirk@569
     6
//  Copyright © 2018 p≡p. All rights reserved.
dirk@569
     7
//
dirk@569
     8
dirk@569
     9
#import <Foundation/Foundation.h>
dirk@569
    10
dz@902
    11
#import "PEPTypes.h"
dz@902
    12
#import "PEPEngineTypes.h"
dz@835
    13
dirk@569
    14
/**
dirk@573
    15
 Extension for wrapping the engine's PEP_rating inside a NSNumber.
dirk@569
    16
 */
dirk@569
    17
@interface NSNumber (Extension)
dirk@569
    18
dz@835
    19
@property (nonatomic, readonly) PEPRating pEpRating;
dirk@573
    20
dz@835
    21
- initWithPEPRating:(PEPRating)pEpRating;
dirk@569
    22
dz@835
    23
+ (NSNumber *)numberWithPEPRating:(PEPRating)pEpRating;
dirk@570
    24
dirk@569
    25
@end