Port MatrixReceiptType to C
This commit is contained in:
parent
c8fe8e1ebb
commit
fe238ff236
@ -155,3 +155,10 @@ G_DEFINE_QUARK(matrix-error-quark, matrix_error);
|
|||||||
*
|
*
|
||||||
* Pusher types.
|
* Pusher types.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* MatrixReceiptType:
|
||||||
|
* @MATRIX_RECEIPT_TYPE_READ: indicate that the message has been read
|
||||||
|
*
|
||||||
|
* Receipt types of acknowledgment.
|
||||||
|
*/
|
||||||
|
@ -114,4 +114,8 @@ typedef enum {
|
|||||||
MATRIX_PUSHER_KIND_UNDERRIDE
|
MATRIX_PUSHER_KIND_UNDERRIDE
|
||||||
} MatrixPusherKind;
|
} MatrixPusherKind;
|
||||||
|
|
||||||
|
typedef enum {
|
||||||
|
MATRIX_RECEIPT_TYPE_READ
|
||||||
|
} MatrixReceiptType;
|
||||||
|
|
||||||
#endif /* __MATRIX_TYPE_H__ */
|
#endif /* __MATRIX_TYPE_H__ */
|
||||||
|
@ -17,16 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Matrix {
|
namespace Matrix {
|
||||||
/**
|
|
||||||
* Receipt types of acknowledgment.
|
|
||||||
*/
|
|
||||||
public enum ReceiptType {
|
|
||||||
/**
|
|
||||||
* indicate that the message has been read
|
|
||||||
*/
|
|
||||||
READ;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Resizing methods for matrix_api_media_thumbnail().
|
* Resizing methods for matrix_api_media_thumbnail().
|
||||||
*/
|
*/
|
||||||
|
@ -110,6 +110,11 @@ namespace Matrix {
|
|||||||
UNDERRIDE;
|
UNDERRIDE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[CCode (cheader_filename = "matrix-enumtypes.h", cprefix = "MATRIX_RECEIPT_TYPE_")]
|
||||||
|
public enum ReceiptType {
|
||||||
|
READ;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The major version number of the Matrix.org GLib SDK.
|
* The major version number of the Matrix.org GLib SDK.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user