Port MatrixEventRoomTopic to C

This commit is contained in:
2017-11-15 08:25:06 +01:00
parent f594f1e5b5
commit 4d8c9fe551
7 changed files with 288 additions and 76 deletions

View File

@@ -582,5 +582,16 @@ namespace Matrix {
protected override void to_json(Json.Node json_data)
throws Matrix.Error;
}
[CCode (cheader_filename = "matrix-event-room-topic.h")]
public class RoomTopic : State {
public string? topic { get; set; default = null; }
protected override void from_json(Json.Node json_data)
throws Matrix.Error;
protected override void to_json(Json.Node json_data)
throws Matrix.Error;
}
}
}