Port MatrixEventRoomCreate to C

This commit is contained in:
2017-11-21 20:27:33 +01:00
parent 42ae6bd943
commit 284e1b7390
7 changed files with 391 additions and 88 deletions

View File

@@ -785,6 +785,19 @@ namespace Matrix {
protected override void to_json(Json.Node json_data)
throws Matrix.Error;
}
[CCode (cheader_filename = "matrix-event-room-create.h")]
public class RoomCreate : State {
public string? creator { get; set; default = null; }
public bool federate { get; set; default = false; }
protected override void from_json(Json.Node json_data)
throws Matrix.Error;
protected override void
to_json(Json.Node json_data)
throws Matrix.Error;
}
}
[CCode (gir_namespace = "MatrixMessage", gir_version = "0.0")]