Move the ReceiptType enum to Vala

这个提交包含在:
2016-03-03 14:23:25 +01:00
父节点 afbaff4a4b
当前提交 f9542d2f0c
共有 4 个文件被更改,包括 7 次插入16 次删除

查看文件

@@ -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();

查看文件

@@ -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().
*/

查看文件

@@ -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:
*

查看文件

@@ -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);