Move the ReceiptType enum to Vala
This commit is contained in:
parent
afbaff4a4b
commit
f9542d2f0c
@ -56,11 +56,6 @@ namespace Matrix {
|
|||||||
PRIVATE;
|
PRIVATE;
|
||||||
}
|
}
|
||||||
|
|
||||||
[CCode (cheader_filename = "matrix-enumtypes.h", cprefix = "MATRIX_RECEIPT_TYPE_")]
|
|
||||||
public enum ReceiptType {
|
|
||||||
READ;
|
|
||||||
}
|
|
||||||
|
|
||||||
[CCode (cheader_filename = "matrix-types.h")]
|
[CCode (cheader_filename = "matrix-types.h")]
|
||||||
public class StateEvent {
|
public class StateEvent {
|
||||||
public Json.Node? get_json_node();
|
public Json.Node? get_json_node();
|
||||||
|
@ -76,6 +76,13 @@ namespace Matrix {
|
|||||||
UNDERRIDE; /// lowest priority rules
|
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().
|
* Resizing methods for matrix_api_media_thumbnail().
|
||||||
*/
|
*/
|
||||||
|
@ -135,13 +135,6 @@ G_DEFINE_QUARK(matrix-error-quark, matrix_error);
|
|||||||
* rules.
|
* rules.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
|
||||||
* MatrixReceiptType:
|
|
||||||
* @MATRIX_RECEIPT_TYPE_READ: indicate that the message has been read
|
|
||||||
*
|
|
||||||
* Receipt types of acknowledgment.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* MatrixStateEvent:
|
* MatrixStateEvent:
|
||||||
*
|
*
|
||||||
|
@ -85,10 +85,6 @@ typedef enum {
|
|||||||
MATRIX_ROOM_VISIBILITY_PRIVATE
|
MATRIX_ROOM_VISIBILITY_PRIVATE
|
||||||
} MatrixRoomVisibility;
|
} MatrixRoomVisibility;
|
||||||
|
|
||||||
typedef enum {
|
|
||||||
MATRIX_RECEIPT_TYPE_READ
|
|
||||||
} MatrixReceiptType;
|
|
||||||
|
|
||||||
typedef struct _MatrixStateEvent MatrixStateEvent;
|
typedef struct _MatrixStateEvent MatrixStateEvent;
|
||||||
|
|
||||||
GType matrix_state_event_get_type(void);
|
GType matrix_state_event_get_type(void);
|
||||||
|
Loading…
Reference in New Issue
Block a user