Port MatrixCallAnswerType to C
This commit is contained in:
parent
fb217e6b68
commit
a3dee44bb8
@ -284,3 +284,11 @@ G_DEFINE_QUARK(matrix-error-quark, matrix_error);
|
|||||||
*
|
*
|
||||||
* Call offer types
|
* Call offer types
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* MatrixCallAnswerType:
|
||||||
|
* @MATRIX_CALL_ANSWER_TYPE_UNKNOWN: represents a value unknown to this library
|
||||||
|
* @MATRIX_CALL_ANSWER_TYPE_ANSWER: call answer
|
||||||
|
*
|
||||||
|
* Call answer types
|
||||||
|
*/
|
||||||
|
@ -190,4 +190,9 @@ typedef enum {
|
|||||||
MATRIX_CALL_OFFER_TYPE_OFFER
|
MATRIX_CALL_OFFER_TYPE_OFFER
|
||||||
} MatrixCallOfferType;
|
} MatrixCallOfferType;
|
||||||
|
|
||||||
|
typedef enum {
|
||||||
|
MATRIX_CALL_ANSWER_TYPE_UNKNOWN,
|
||||||
|
MATRIX_CALL_ANSWER_TYPE_ANSWER
|
||||||
|
} MatrixCallAnswerType;
|
||||||
|
|
||||||
#endif /* __MATRIX_TYPE_H__ */
|
#endif /* __MATRIX_TYPE_H__ */
|
||||||
|
@ -17,21 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Matrix {
|
namespace Matrix {
|
||||||
/**
|
|
||||||
* Call answer types
|
|
||||||
*/
|
|
||||||
public enum CallAnswerType {
|
|
||||||
/**
|
|
||||||
* represents a value unknown to this library
|
|
||||||
*/
|
|
||||||
UNKNOWN,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* call answer
|
|
||||||
*/
|
|
||||||
ANSWER;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Information about the file referred to in a URL.
|
* Information about the file referred to in a URL.
|
||||||
*/
|
*/
|
||||||
|
@ -198,6 +198,12 @@ namespace Matrix {
|
|||||||
OFFER;
|
OFFER;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[CCode (cheader_filename = "matrix-enumtypes.h", cprefix = "MATRIX_CALL_ANSWER_TYPE_")]
|
||||||
|
public enum CallAnswerType {
|
||||||
|
UNKNOWN,
|
||||||
|
ANSWER;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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