Port MatrixEventRoomGuestAccess to C

This commit is contained in:
2017-11-22 11:00:54 +01:00
parent cba5073549
commit 2ec736fa3e
7 changed files with 310 additions and 94 deletions

View File

@@ -833,6 +833,17 @@ namespace Matrix {
protected override void to_json(Json.Node json_data)
throws Matrix.Error;
}
[CCode (cheader_filename = "matrix-event-room-guest-access.h")]
public class RoomGuestAccess : State {
public Matrix.GuestAccess guest_access { get; set; default = Matrix.GuestAccess.UNKNOWN; }
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")]