Add MatrixAPI:homeserver property

This commit is contained in:
2016-01-06 14:10:35 +01:00
parent f6fa56e7b0
commit 95a6112a2a
4 changed files with 65 additions and 0 deletions

View File

@@ -176,6 +176,8 @@ struct _MatrixAPIInterface {
const gchar *(*get_user_id)(MatrixAPI *api);
const gchar *(*get_homeserver)(MatrixAPI *api);
void *properties_reserved[10];
/* Media */
@@ -589,6 +591,7 @@ const gchar *matrix_api_get_token(MatrixAPI *api);
void matrix_api_set_refresh_token(MatrixAPI *api, const gchar *refresh_token);
const gchar *matrix_api_get_refresh_token(MatrixAPI *api);
const gchar *matrix_api_get_user_id(MatrixAPI *api);
const gchar *matrix_api_get_homeserver(MatrixAPI *api);
/* API definition */