Port MatrixEventRoomTopic to C

This commit is contained in:
2017-11-15 08:25:06 +01:00
parent 75c255ac9d
commit 171f76e678
7 changed files with 295 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;
}
}
}