From 3ba45a1d478748b5cc0b6236bc1b0b501109cb2b Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Wed, 3 Feb 2016 14:46:29 +0100 Subject: [PATCH] Add MatrixRoomEvent --- .gitignore | 1 + src/Makefile.am | 1 + src/matrix-room-event.vala | 22 ++++++++++++++++++++++ 3 files changed, 24 insertions(+) create mode 100644 src/matrix-room-event.vala diff --git a/.gitignore b/.gitignore index 113eea2..7ee3c75 100644 --- a/.gitignore +++ b/.gitignore @@ -67,3 +67,4 @@ Makefile.in /src/matrix-http-client.c /src/matrix-compacts.c /src/matrix-event.c +/src/matrix-room-event.c diff --git a/src/Makefile.am b/src/Makefile.am index 8a99cf4..1cf0a44 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -23,6 +23,7 @@ libmatrix_glib_0_0_la_VALA_SOURCES = \ matrix-http-client.vala \ matrix-compacts.vala \ matrix-event.vala \ + matrix-room-event.vala \ $(NULL) AM_CPPFLAGS += \ diff --git a/src/matrix-room-event.vala b/src/matrix-room-event.vala new file mode 100644 index 0000000..3b05dd9 --- /dev/null +++ b/src/matrix-room-event.vala @@ -0,0 +1,22 @@ +/* + * This file is part of matrix-glib-sdk + * + * matrix-glib-sdk is free software: you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either + * version 3 of the License, or (at your option) any later version. + * + * matrix-glib-sdk is distributed in the hope that it will be + * useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with matrix-glib-sdk. If not, see + * . + */ + +/** + * Abstract base class for room events. + */ +public abstract class Matrix.RoomEvent : Matrix.Event {}