pEpObjCAdapter/NSNumber+PEPRating.h
author Dirk Zimmermann <dirk@pep-project.org>
Fri, 13 Apr 2018 10:58:33 +0200
changeset 569 093fba08455c
child 570 be19873c1c5b
permissions -rw-r--r--
IOSAD-72 NSNumber+PEPRating
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
dirk@569
    11
#import "message_api.h"
dirk@569
    12
dirk@569
    13
/**
dirk@569
    14
 Extension for handling the engine's PEP_rating inside a NSNumber.
dirk@569
    15
 */
dirk@569
    16
@interface NSNumber (Extension)
dirk@569
    17
dirk@569
    18
- initWithPEPRating:(PEP_rating)pEpRating;
dirk@569
    19
- (PEP_rating)pEpRating;
dirk@569
    20
dirk@569
    21
@end