Port MatrixRoomMembership to C

This commit is contained in:
2017-11-02 09:59:24 +01:00
parent b211ee2fc2
commit 62b106511d
4 changed files with 36 additions and 42 deletions

View File

@@ -122,6 +122,16 @@ namespace Matrix {
SCALE;
}
[CCode (cheader_filename = "matrix-enumtypes.h", cprefix = "MATRIX_ROOM_MEMBERSHIP_")]
public enum RoomMembership {
UNKNOWN,
INVITE,
JOIN,
LEAVE,
BAN,
KNOCK;
}
/**
* The major version number of the Matrix.org GLib SDK.
*/