Port MatrixEventCall to C

This commit is contained in:
2017-11-19 11:59:30 +01:00
parent 4b89ae86dd
commit 9fdd193a49
6 changed files with 386 additions and 80 deletions

View File

@@ -633,6 +633,24 @@ namespace Matrix {
to_json(Json.Node json_data)
throws Matrix.Error;
}
[CCode (cheader_filename = "matrix-event-call-base.h")]
public abstract class Call : Room {
public string? call_id { get; set; default = null; }
public int version { get; set; default = -1; }
public Call();
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")]