Rename enum types from MatrixAPI* to Matrix*

This commit is contained in:
2016-01-25 12:42:26 +01:00
parent d3ac019188
commit e163e73f2c
7 changed files with 241 additions and 256 deletions

View File

@@ -76,7 +76,7 @@ struct _MatrixAPIInterface {
const gchar *media_id,
guint width,
guint height,
MatrixAPIResizeMethod method,
MatrixResizeMethod method,
GError **error);
void (*media_upload)(MatrixAPI *api,
MatrixAPICallback callback,
@@ -107,7 +107,7 @@ struct _MatrixAPIInterface {
MatrixAPICallback callback,
gpointer user_data,
const gchar *user_id,
MatrixAPIPresence presence,
MatrixPresence presence,
const gchar *status_message,
GError **error);
@@ -125,21 +125,21 @@ struct _MatrixAPIInterface {
MatrixAPICallback callback,
gpointer user_data,
const gchar *scope,
MatrixAPIPusherKind kind,
MatrixPusherKind kind,
const gchar *rule_id,
GError **error);
void (*get_pusher)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *scope,
MatrixAPIPusherKind kind,
MatrixPusherKind kind,
const gchar *rule_id,
GError **error);
void (*add_pusher)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *scope,
MatrixAPIPusherKind kind,
MatrixPusherKind kind,
const gchar *rule_id,
const gchar *before,
const gchar *after,
@@ -150,7 +150,7 @@ struct _MatrixAPIInterface {
MatrixAPICallback callback,
gpointer user_data,
const gchar *scope,
MatrixAPIPusherKind kind,
MatrixPusherKind kind,
const gchar *rule_id,
gboolean enabled,
GError **error);
@@ -159,11 +159,11 @@ struct _MatrixAPIInterface {
void (*create_room)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
MatrixAPIRoomPreset preset,
MatrixRoomPreset preset,
const gchar *room_name,
const gchar *room_alias,
const gchar *topic,
MatrixAPIRoomVisibility visibility,
MatrixRoomVisibility visibility,
JsonNode *creation_content,
GList *initial_state,
GList *invitees,
@@ -272,14 +272,14 @@ struct _MatrixAPIInterface {
gpointer user_data,
const gchar *room_id,
const gchar *from_token,
MatrixAPIEventDirection direction,
MatrixEventDirection direction,
guint limit,
GError **error);
void (*send_event_receipt)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *room_id,
MatrixAPIReceiptType receipt_type,
MatrixReceiptType receipt_type,
const gchar *event_id,
JsonNode *receipt,
GError **error);
@@ -423,7 +423,7 @@ struct _MatrixAPIInterface {
void (*register_account)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
MatrixAPIAccountKind account_kind,
MatrixAccountKind account_kind,
gboolean bind_email,
const gchar *username,
const gchar *password,
@@ -501,7 +501,7 @@ void matrix_api_media_thumbnail(MatrixAPI *api,
const gchar *media_id,
guint width,
guint height,
MatrixAPIResizeMethod method,
MatrixResizeMethod method,
GError **error);
void matrix_api_media_upload(MatrixAPI *api,
MatrixAPICallback callback,
@@ -532,7 +532,7 @@ void matrix_api_set_user_presence(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *user_id,
MatrixAPIPresence presence,
MatrixPresence presence,
const gchar *status_message,
GError **error);
@@ -550,21 +550,21 @@ void matrix_api_delete_pusher(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *scope,
MatrixAPIPusherKind kind,
MatrixPusherKind kind,
const gchar *rule_id,
GError **error);
void matrix_api_get_pusher(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *scope,
MatrixAPIPusherKind kind,
MatrixPusherKind kind,
const gchar *rule_id,
GError **error);
void matrix_api_add_pusher(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *scope,
MatrixAPIPusherKind kind,
MatrixPusherKind kind,
const gchar *rule_id,
const gchar *before,
const gchar *after,
@@ -575,7 +575,7 @@ void matrix_api_toggle_pusher(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *scope,
MatrixAPIPusherKind kind,
MatrixPusherKind kind,
const gchar *rule_id,
gboolean enabled,
GError **error);
@@ -584,11 +584,11 @@ void matrix_api_toggle_pusher(MatrixAPI *api,
void matrix_api_create_room(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
MatrixAPIRoomPreset preset,
MatrixRoomPreset preset,
const gchar *room_name,
const gchar *room_alias,
const gchar *topic,
MatrixAPIRoomVisibility visibility,
MatrixRoomVisibility visibility,
JsonNode *creation_content,
GList *initial_state,
GList *invitees,
@@ -697,14 +697,14 @@ void matrix_api_list_room_messages(MatrixAPI *api,
gpointer user_data,
const gchar *room_id,
const gchar *from_token,
MatrixAPIEventDirection direction,
MatrixEventDirection direction,
guint limit,
GError **error);
void matrix_api_send_event_receipt(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *room_id,
MatrixAPIReceiptType receipt_type,
MatrixReceiptType receipt_type,
const gchar *event_id,
JsonNode *receipt,
GError **error);
@@ -847,7 +847,7 @@ void matrix_api_set_display_name(MatrixAPI *api,
void matrix_api_register_account(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
MatrixAPIAccountKind account_kind,
MatrixAccountKind account_kind,
gboolean bind_email,
const gchar *username,
const gchar *password,