Browse Source

Merge branch 'master' into 1.1.260

1.1.260
Andreas Buff 2 months ago
parent
commit
431988a400
2 changed files with 0 additions and 51 deletions
  1. +0
    -13
      yml2/pEp_message.yml2
  2. +0
    -38
      yml2/pEp_message_include.ysl2

+ 0
- 13
yml2/pEp_message.yml2 View File

@ -1,13 +0,0 @@
decl class +name;
decl property(name, type, nullability, key);
class PEPMessage {
property "messageID" type = "NSString *" key="id";
property "direction" type = "PEP_msg_direction" key="outgoing";
property "shortMessage" type = "NSString *" key="shortmsg";
property "longMessage" type = "NSString *" key="longmsg";
property "longMessageFormatted" type = "NSString *" key="longmsg_formatted";
property "attachments" type = "NSArray *" key="attachments";
property "sent" type = "NSDate *" key="sent";
property "received" type = "NSDate *" key="recv";
}

+ 0
- 38
yml2/pEp_message_include.ysl2 View File

@ -1,38 +0,0 @@
include yslt.yml2
tstylesheet {
template "/" {
apply "class", 0
}
template "class" {//document "{@name}Base.h" {
| //
| // «@name».h
| // pEpObjCAdapter
| //
| // Created by Dirk Zimmermann on 10.11.17.
| // Copyright © 2017 p≡p. All rights reserved.
| //
|
| #import <Foundation/Foundation.h>
|
| #import "PEPSessionProtocol.h"
|
| @interface PEPIdentity : NSObject
|
apply "property"
|
|
| @end
}
template "property" {
choose {
when "@nullability"
| @property (nonatomic, «@nullability») «@type» «@name»;
otherwise
| @property (nonatomic) «@type» «@name»;
}
}
}

Loading…
Cancel
Save