Port MatrixEventRoomName to C

This commit is contained in:
2017-11-19 10:46:37 +01:00
parent 50aa43e80a
commit 4b89ae86dd
7 changed files with 308 additions and 78 deletions

View File

@@ -620,6 +620,19 @@ namespace Matrix {
to_json(Json.Node json_data)
throws Matrix.Error;
}
[CCode (cheader_filename = "matrix-event-room-name.h")]
public class RoomName : State {
public string? name { 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;
}
}
[CCode (gir_namespace = "MatrixMessage", gir_version = "0.0")]