Port MatrixPresence to C

This commit is contained in:
2017-11-02 09:36:06 +01:00
parent 25f809d37e
commit f97896a250
4 changed files with 28 additions and 31 deletions

View File

@@ -84,6 +84,15 @@ namespace Matrix {
FEDERATION;
}
[CCode (cheader_filename = "matrix-enumtypes.h", cprefix = "MATRIX_PRESENCE_")]
public enum Presence {
UNKNOWN,
ONLINE,
OFFLINE,
UNAVAILABLE,
FREE_FOR_CHAT;
}
/**
* The major version number of the Matrix.org GLib SDK.
*/