File indexing completed on 2024-06-23 05:07:02
0001 /* 0002 SPDX-FileCopyrightText: 2014 Christian Mollekop <mollekopf@kolabsys.com> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "handler.h" 0010 0011 namespace Akonadi 0012 { 0013 namespace Server 0014 { 0015 class Relation; 0016 0017 class RelationModifyHandler : public Handler 0018 { 0019 public: 0020 RelationModifyHandler(AkonadiServer &akonadi); 0021 ~RelationModifyHandler() override = default; 0022 0023 bool parseStream() override; 0024 0025 private: 0026 Relation fetchRelation(qint64 leftId, qint64 rightId, qint64 typeId); 0027 }; 0028 0029 } // namespace Server 0030 } // namespace Akonadi