File indexing completed on 2024-06-23 05:07:02

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 resource selection command.
0019 
0020   <h4>Semantics</h4>
0021   Limits the scope of remote id based operations. Remote ids of collections are only guaranteed
0022   to be unique per resource, so this command should be issued before running any RID based
0023   collection commands.
0024 */
0025 class ResourceSelectHandler : public Handler
0026 {
0027 public:
0028     ResourceSelectHandler(AkonadiServer &akonadi);
0029     ~ResourceSelectHandler() override = default;
0030 
0031     bool parseStream() override;
0032 };
0033 
0034 } // namespace Server
0035 } // namespace Akonadi