Port MatrixAccountKind to C

This commit is contained in:
2017-11-02 09:01:37 +01:00
parent 51a4b1492c
commit d3be50a6a0
4 changed files with 24 additions and 21 deletions

View File

@@ -62,6 +62,15 @@ namespace Matrix {
public static GLib.Quark quark ();
}
public const int MATRIX_ERROR;
[CCode (cheader_filename = "matrix-enumtypes.h", cprefix = "MATRIX_ACCOUNT_KIND_")]
public enum AccountKind {
DEFAULT,
USER,
GUEST;
}
/**
* The major version number of the Matrix.org GLib SDK.
*/