[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [elisa/genericModel] src: add missing datatype.h file with common definitions for GenericDataModel
From: Matthieu Gallien <null () kde ! org>
Date: 2018-05-31 19:35:54
Message-ID: E1fOTMY-0006Zt-0I () code ! kde ! org
[Download RAW message or body]
Git commit 810a2505ecebeb637e3d3a0782612b4a118e1605 by Matthieu Gallien.
Committed on 31/05/2018 at 19:35.
Pushed by mgallien into branch 'genericModel'.
add missing datatype.h file with common definitions for GenericDataModel
A +45 -0 src/datatype.h [License: LGPL (v3+)]
https://commits.kde.org/elisa/810a2505ecebeb637e3d3a0782612b4a118e1605
diff --git a/src/datatype.h b/src/datatype.h
new file mode 100644
index 0000000..6552d6f
--- /dev/null
+++ b/src/datatype.h
@@ -0,0 +1,45 @@
+/*
+ * Copyright 2018 Matthieu Gallien <matthieu_gallien@yahoo.fr>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 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
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public Licen=
se
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ */
+
+#ifndef DATATYPE_H
+#define DATATYPE_H
+
+#include "elisaLib_export.h"
+
+#include <QMetaObject>
+
+namespace DataUtils {
+
+Q_NAMESPACE
+
+enum DataType {
+ AllArtists,
+ AllAlbums,
+ AllTracks,
+ AllGenres,
+ AllComposers,
+ AllLyricists,
+ UnknownType,
+};
+
+Q_ENUM_NS(DataType)
+
+}
+
+#endif // DATATYPE_H
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic