File indexing completed on 2024-06-23 05:07:01
0001 /* 0002 SPDX-FileCopyrightText: 2009 Volker Krause <vkrause@kde.org> 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 /** 0016 @ingroup akonadi_server_handler 0017 0018 Handler for the item deletion command. 0019 0020 <h4>Semantics</h4> 0021 Removes the selected items. Item selection can happen within the usual three scopes: 0022 - based on a uid set relative to the currently selected collection 0023 - based on a global uid set (UID) 0024 - based on a remote identifier within the currently selected collection (RID) 0025 */ 0026 class ItemDeleteHandler : public Handler 0027 { 0028 public: 0029 ItemDeleteHandler(AkonadiServer &akonadi); 0030 ~ItemDeleteHandler() override = default; 0031 0032 bool parseStream() override; 0033 }; 0034 0035 } // namespace Server 0036 } // namespace Akonadi