Move the ReceiptType enum to Vala

This commit is contained in:
Gergely Polonkai 2016-03-03 14:23:25 +01:00
parent afbaff4a4b
commit f9542d2f0c
4 changed files with 7 additions and 16 deletions

View File

@ -56,11 +56,6 @@ namespace Matrix {
PRIVATE;
}
[CCode (cheader_filename = "matrix-enumtypes.h", cprefix = "MATRIX_RECEIPT_TYPE_")]
public enum ReceiptType {
READ;
}
[CCode (cheader_filename = "matrix-types.h")]
public class StateEvent {
public Json.Node? get_json_node();

View File

@ -76,6 +76,13 @@ namespace Matrix {
UNDERRIDE; /// lowest priority rules
}
/**
* Receipt types of acknowledgment.
*/
public enum ReceiptType {
READ; /// indicate that the message has been read
}
/**
* Resizing methods for matrix_api_media_thumbnail().
*/

View File

@ -135,13 +135,6 @@ G_DEFINE_QUARK(matrix-error-quark, matrix_error);
* rules.
*/
/**
* MatrixReceiptType:
* @MATRIX_RECEIPT_TYPE_READ: indicate that the message has been read
*
* Receipt types of acknowledgment.
*/
/**
* MatrixStateEvent:
*

View File

@ -85,10 +85,6 @@ typedef enum {
MATRIX_ROOM_VISIBILITY_PRIVATE
} MatrixRoomVisibility;
typedef enum {
MATRIX_RECEIPT_TYPE_READ
} MatrixReceiptType;
typedef struct _MatrixStateEvent MatrixStateEvent;
GType matrix_state_event_get_type(void);