File indexing completed on 2024-06-23 05:06:54
0001 /* 0002 SPDX-FileCopyrightText: 2008 Volker Krause <vkrause@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "akonadicore_export.h" 0010 0011 namespace Akonadi 0012 { 0013 namespace Internal 0014 { 0015 AKONADICORE_EXPORT int serverProtocolVersion(); 0016 AKONADICORE_EXPORT void setServerProtocolVersion(int version); 0017 AKONADICORE_EXPORT uint generation(); 0018 AKONADICORE_EXPORT void setGeneration(uint generation); 0019 0020 enum ClientType { 0021 User, 0022 Agent, 0023 Resource, 0024 }; 0025 AKONADICORE_EXPORT ClientType clientType(); 0026 AKONADICORE_EXPORT void setClientType(ClientType type); 0027 0028 } 0029 0030 }