Move the EventDirection enum to Vala
This commit is contained in:
parent
b870802721
commit
6409b75398
@ -82,12 +82,6 @@ namespace Matrix {
|
|||||||
PRIVATE;
|
PRIVATE;
|
||||||
}
|
}
|
||||||
|
|
||||||
[CCode (cheader_filename = "matrix-enumtypes.h", cprefix = "MATRIX_EVENT_DIRECTION_")]
|
|
||||||
public enum EventDirection {
|
|
||||||
FORWARD,
|
|
||||||
BACKWARD;
|
|
||||||
}
|
|
||||||
|
|
||||||
[CCode (cheader_filename = "matrix-enumtypes.h", cprefix = "MATRIX_RECEIPT_TYPE_")]
|
[CCode (cheader_filename = "matrix-enumtypes.h", cprefix = "MATRIX_RECEIPT_TYPE_")]
|
||||||
public enum ReceiptType {
|
public enum ReceiptType {
|
||||||
READ;
|
READ;
|
||||||
|
@ -26,6 +26,14 @@ namespace Matrix {
|
|||||||
GUEST; /// guest user
|
GUEST; /// guest user
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Direction of events when requesting an event context.
|
||||||
|
*/
|
||||||
|
public enum EventDirection {
|
||||||
|
FORWARD, /// List events after the specified one
|
||||||
|
BACKWARD; /// List events before the specified one
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Event format received when synchronizing.
|
* Event format received when synchronizing.
|
||||||
*/
|
*/
|
||||||
|
@ -211,16 +211,6 @@ G_DEFINE_QUARK(matrix-error-quark, matrix_error);
|
|||||||
* Condition types for pushers.
|
* Condition types for pushers.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
|
||||||
* MatrixEventDirection:
|
|
||||||
* @MATRIX_EVENT_DIRECTION_FORWARD: List events after the specified
|
|
||||||
* one
|
|
||||||
* @MATRIX_EVENT_DIRECTION_BACKWARD: List events before the specified
|
|
||||||
* one
|
|
||||||
*
|
|
||||||
* Direction of events when requesting an event context.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* MatrixReceiptType:
|
* MatrixReceiptType:
|
||||||
* @MATRIX_RECEIPT_TYPE_READ: indicate that the message has been read
|
* @MATRIX_RECEIPT_TYPE_READ: indicate that the message has been read
|
||||||
|
@ -93,11 +93,6 @@ typedef enum {
|
|||||||
MATRIX_ROOM_VISIBILITY_PRIVATE
|
MATRIX_ROOM_VISIBILITY_PRIVATE
|
||||||
} MatrixRoomVisibility;
|
} MatrixRoomVisibility;
|
||||||
|
|
||||||
typedef enum {
|
|
||||||
MATRIX_EVENT_DIRECTION_FORWARD,
|
|
||||||
MATRIX_EVENT_DIRECTION_BACKWARD
|
|
||||||
} MatrixEventDirection;
|
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
MATRIX_RECEIPT_TYPE_READ
|
MATRIX_RECEIPT_TYPE_READ
|
||||||
} MatrixReceiptType;
|
} MatrixReceiptType;
|
||||||
|
Loading…
Reference in New Issue
Block a user