pEpObjCAdapterFramework/PEPLanguage.h
author Dirk Zimmermann <dz@pep.security>
Fri, 20 Sep 2019 10:01:48 +0200
branchIOSAD-141
changeset 1250 b6a4d30abd26
parent 861 e21d2be61276
permissions -rw-r--r--
IOSAD-141 Test for "hammering" the engine.
dirk@187
     1
//
dirk@187
     2
//  PEPLanguage.h
dirk@187
     3
//  pEpiOSAdapter
dirk@187
     4
//
dirk@187
     5
//  Created by Dirk Zimmermann on 03.05.17.
dirk@187
     6
//  Copyright © 2017 p≡p. All rights reserved.
dirk@187
     7
//
dirk@187
     8
dirk@187
     9
#import <Foundation/Foundation.h>
dirk@187
    10
dirk@187
    11
@interface PEPLanguage : NSObject
dirk@187
    12
dirk@187
    13
- (instancetype _Nonnull)initWithCode:(NSString * _Nonnull)code
dirk@187
    14
                                 name:(NSString * _Nonnull)name
dirk@187
    15
                                 sentence:(NSString * _Nonnull)sentence;
dirk@187
    16
dirk@187
    17
/**
dirk@187
    18
 ISO 639-1 language code
dirk@187
    19
 */
dirk@187
    20
@property (nonatomic, nonnull) NSString *code;
dirk@187
    21
dirk@187
    22
/**
dirk@187
    23
 Name of the language. Should not be translated.
dirk@187
    24
 */
dirk@187
    25
@property (nonatomic, nonnull) NSString *name;
dirk@187
    26
dirk@187
    27
/**
dirk@187
    28
 Sentence of the form "I want to display the trustwords in <lang>".
dirk@187
    29
 Should not be translated.
dirk@187
    30
 */
dirk@187
    31
@property (nonatomic, nonnull) NSString *sentence;
dirk@187
    32
dirk@187
    33
@end