Browse Source

adding references

PYADPT-55
Volker Birk 9 years ago
parent
commit
1288b73f6d
  1. 5
      src/message.hh
  2. 5
      src/pEpmodule.cc

5
src/message.hh

@ -100,9 +100,8 @@ namespace pEp {
list in_reply_to() { return strlist_attr(_msg->in_reply_to); } list in_reply_to() { return strlist_attr(_msg->in_reply_to); }
void in_reply_to(list value) { strlist_attr(_msg->in_reply_to, value); } void in_reply_to(list value) { strlist_attr(_msg->in_reply_to, value); }
struct _message *refering_msg_ref; list references() { return strlist_attr(_msg->references); }
stringlist_t *references; void references(list value) { strlist_attr(_msg->references, value); }
struct _message_ref_list *refered_by;
stringlist_t *keywords; stringlist_t *keywords;
char *comments; char *comments;

5
src/pEpmodule.cc

@ -121,6 +121,9 @@ BOOST_PYTHON_MODULE(pEp)
"list of identities where message will be replied to") "list of identities where message will be replied to")
.add_property("in_reply_to", (list(Message::*)()) &Message::in_reply_to, .add_property("in_reply_to", (list(Message::*)()) &Message::in_reply_to,
(void(Message::*)(list)) &Message::in_reply_to, (void(Message::*)(list)) &Message::in_reply_to,
"in_reply_to list"); "in_reply_to list")
.add_property("references", (list(Message::*)()) &Message::references,
(void(Message::*)(list)) &Message::references,
"message references");
} }

Loading…
Cancel
Save