Move MatrixError to Vala

This commit is contained in:
2016-02-19 14:32:20 +01:00
parent a8da282d0b
commit 65d2f39dcd
8 changed files with 51 additions and 334 deletions

View File

@@ -18,26 +18,4 @@
[CCode (cprefix = "Matrix", gir_namespace = "Matrix", gir_version = "0.0", lower_case_cprefix = "matrix_")]
namespace Matrix {
[CCode (cheader_filename = "matrix-enumtypes.h", cprefix = "MATRIX_ERROR_")]
public errordomain Error {
NONE,
COMMUNICATION_ERROR,
INCOMPLETE,
BAD_REQUEST,
BAD_RESPONSE,
INVALID_ROOM_ID,
UNKNOWN_VALUE,
INVALID_TYPE,
UNSUPPORTED,
INVALID_FORMAT,
M_MISSING_TOKEN,
M_FORBIDDEN,
M_UNKNOWN,
M_UNKNOWN_TOKEN,
M_NOT_JSON,
M_UNRECOGNIZED,
UNSPECIFIED,
UNKNOWN_ERROR;
public static GLib.Quark quark ();
}
}