aboutsummaryrefslogtreecommitdiff
path: root/lib/eventitem.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-08-03 17:14:08 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-08-03 17:14:08 +0900
commitde72fb7f9b6e36021c284c011f19714defe80713 (patch)
treebdc882411f68fb2d29ef5cf3ae20dc7ddf77bc00 /lib/eventitem.cpp
parentb0551c2164ff519ac8fcd2df5ff5a72655779f2f (diff)
downloadlibquotient-de72fb7f9b6e36021c284c011f19714defe80713.tar.gz
libquotient-de72fb7f9b6e36021c284c011f19714defe80713.zip
Refactor event items
* TimelineItem and a newly introduced PendingEventItem are now inheriting from the common EventItemBase class * PendingEventItem has its own status and annotation, serving to track transition of the item through pending states
Diffstat (limited to 'lib/eventitem.cpp')
-rw-r--r--lib/eventitem.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/eventitem.cpp b/lib/eventitem.cpp
index e69de29b..79ef769c 100644
--- a/lib/eventitem.cpp
+++ b/lib/eventitem.cpp
@@ -0,0 +1,19 @@
+/******************************************************************************
+ * Copyright (C) 2018 Kitsune Ral <kitsune-ral@users.sf.net>
+ *
+ * This library 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 2.1 of the License, or (at your option) any later version.
+ *
+ * This library 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 this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#include "eventitem.h"