Port MatrixEventCallAnswer to C

This commit is contained in:
2017-11-21 14:01:45 +01:00
parent fe8664fb69
commit dcf8856d24
7 changed files with 396 additions and 102 deletions

View File

@@ -740,6 +740,18 @@ namespace Matrix {
protected override void to_json(Json.Node json_data)
throws Matrix.Error;
}
[CCode (cheader_filename = "matrix-event-call-answer.h")]
public class CallAnswer : Call {
public Matrix.CallAnswerType answer_type { get; set; default = Matrix.CallAnswerType.UNKNOWN; }
public string? answer_sdp { 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")]