Port MatrixCallOfferType to C
This commit is contained in:
parent
49b466f67e
commit
fb217e6b68
@ -276,3 +276,11 @@ G_DEFINE_QUARK(matrix-error-quark, matrix_error);
|
|||||||
*
|
*
|
||||||
* Room guest access
|
* Room guest access
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* MatrixCallOfferType:
|
||||||
|
* @MATRIX_CALL_OFFER_TYPE_UNKNOWN: represents a value unknown to this library
|
||||||
|
* @MATRIX_CALL_OFFER_TYPE_OFFER: call offer
|
||||||
|
*
|
||||||
|
* Call offer types
|
||||||
|
*/
|
||||||
|
@ -185,4 +185,9 @@ typedef enum {
|
|||||||
MATRIX_GUEST_ACCESS_FORBIDDEN
|
MATRIX_GUEST_ACCESS_FORBIDDEN
|
||||||
} MatrixGuestAccess;
|
} MatrixGuestAccess;
|
||||||
|
|
||||||
|
typedef enum {
|
||||||
|
MATRIX_CALL_OFFER_TYPE_UNKNOWN,
|
||||||
|
MATRIX_CALL_OFFER_TYPE_OFFER
|
||||||
|
} MatrixCallOfferType;
|
||||||
|
|
||||||
#endif /* __MATRIX_TYPE_H__ */
|
#endif /* __MATRIX_TYPE_H__ */
|
||||||
|
@ -17,21 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Matrix {
|
namespace Matrix {
|
||||||
/**
|
|
||||||
* Call offer types
|
|
||||||
*/
|
|
||||||
public enum CallOfferType {
|
|
||||||
/**
|
|
||||||
* represents a value unknown to this library
|
|
||||||
*/
|
|
||||||
UNKNOWN,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* call offer
|
|
||||||
*/
|
|
||||||
OFFER;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Call answer types
|
* Call answer types
|
||||||
*/
|
*/
|
||||||
|
@ -192,6 +192,12 @@ namespace Matrix {
|
|||||||
FORBIDDEN;
|
FORBIDDEN;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[CCode (cheader_filename = "matrix-enumtypes.h", cprefix = "MATRIX_CALL_OFFER_TYPE_")]
|
||||||
|
public enum CallOfferType {
|
||||||
|
UNKNOWN,
|
||||||
|
OFFER;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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