Move the EventDirection enum to Vala
This commit is contained in:
parent
b870802721
commit
6409b75398
@ -82,12 +82,6 @@ namespace Matrix {
|
||||
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_")]
|
||||
public enum ReceiptType {
|
||||
READ;
|
||||
|
@ -26,6 +26,14 @@ namespace Matrix {
|
||||
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.
|
||||
*/
|
||||
|
@ -211,16 +211,6 @@ G_DEFINE_QUARK(matrix-error-quark, matrix_error);
|
||||
* 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:
|
||||
* @MATRIX_RECEIPT_TYPE_READ: indicate that the message has been read
|
||||
|
@ -93,11 +93,6 @@ typedef enum {
|
||||
MATRIX_ROOM_VISIBILITY_PRIVATE
|
||||
} MatrixRoomVisibility;
|
||||
|
||||
typedef enum {
|
||||
MATRIX_EVENT_DIRECTION_FORWARD,
|
||||
MATRIX_EVENT_DIRECTION_BACKWARD
|
||||
} MatrixEventDirection;
|
||||
|
||||
typedef enum {
|
||||
MATRIX_RECEIPT_TYPE_READ
|
||||
} MatrixReceiptType;
|
||||
|
Loading…
Reference in New Issue
Block a user