From 0815156ef93cb9f48073a777b888ed47b579d695 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 25 May 2015 23:58:59 +0200 Subject: Moved remaining parts of applicationdomaintype --- common/domain/applicationdomaintype.cpp | 45 +++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 common/domain/applicationdomaintype.cpp (limited to 'common/domain') diff --git a/common/domain/applicationdomaintype.cpp b/common/domain/applicationdomaintype.cpp new file mode 100644 index 0000000..47ff0c3 --- /dev/null +++ b/common/domain/applicationdomaintype.cpp @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2014 Christian Mollekopf + * + * 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) version 3, or any + * later version accepted by the membership of KDE e.V. (or its + * successor approved by the membership of KDE e.V.), which shall + * act as a proxy defined in Section 6 of version 3 of the license. + * + * 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, see . + */ +#include "applicationdomaintype.h" + +namespace Akonadi2 { +namespace ApplicationDomain { + +template<> +QByteArray getTypeName() +{ + return "event"; +} + +template<> +QByteArray getTypeName() +{ + return "todo"; +} + +template<> +QByteArray getTypeName() +{ + return "akonadiresource"; +} + +} +} + -- cgit v1.2.3