Port MatrixPusherConditionKind to C

This commit is contained in:
2017-11-02 09:43:31 +01:00
parent f97896a250
commit c91035dbd0
4 changed files with 30 additions and 32 deletions

View File

@@ -93,6 +93,14 @@ namespace Matrix {
FREE_FOR_CHAT;
}
[CCode (cheader_filename = "matrix-enumtypes.h", cprefix = "MATRIX_PUSHER_CONDITION_KIND_")]
public enum PusherConditionKind {
EVENT_MATCH,
PROFILE_TAG,
CONTAINS_DISPLAY_NAME,
ROOM_MEMBER_COUNT;
}
/**
* The major version number of the Matrix.org GLib SDK.
*/