yml2/pEp_message_include.ysl2
author Dirk Zimmermann <dirk@pep-project.org>
Fri, 06 Apr 2018 10:49:41 +0200
changeset 557 7cf2f6710453
parent 368 bd89f3ec04f0
permissions -rw-r--r--
IOSAD-90 encryptMessage:forSelf
dirk@368
     1
include yslt.yml2
dirk@368
     2
dirk@368
     3
tstylesheet {
dirk@368
     4
  template "/" {
dirk@368
     5
    apply "class", 0
dirk@368
     6
  }
dirk@368
     7
dirk@368
     8
  template "class" {//document "{@name}Base.h" {
dirk@368
     9
    | //
dirk@368
    10
    | //  «@name».h
dirk@368
    11
    | //  pEpObjCAdapter
dirk@368
    12
    | //
dirk@368
    13
    | //  Created by Dirk Zimmermann on 10.11.17.
dirk@368
    14
    | //  Copyright © 2017 p≡p. All rights reserved.
dirk@368
    15
    | //
dirk@368
    16
    |
dirk@368
    17
    | #import <Foundation/Foundation.h>
dirk@368
    18
    |
dirk@368
    19
    | #import "PEPSessionProtocol.h"
dirk@368
    20
    |
dirk@368
    21
    | @interface PEPIdentity : NSObject
dirk@368
    22
    |
dirk@368
    23
    apply "property"
dirk@368
    24
    |
dirk@368
    25
    |
dirk@368
    26
    | @end
dirk@368
    27
  }
dirk@368
    28
dirk@368
    29
  template "property" {
dirk@368
    30
    choose {
dirk@368
    31
      when "@nullability"
dirk@368
    32
        | @property (nonatomic, «@nullability») «@type» «@name»;
dirk@368
    33
      otherwise
dirk@368
    34
        | @property (nonatomic) «@type» «@name»;
dirk@368
    35
    }
dirk@368
    36
  }
dirk@368
    37
}
dirk@368
    38