File indexing completed on 2024-05-12 05:13:14

0001 /*
0002   SPDX-FileCopyrightText: 2013 Sérgio Martins <iamsergio@gmail.com>
0003 
0004   SPDX-License-Identifier: GPL-2.0-or-later WITH Qt-Commercial-exception-1.0
0005 */
0006 
0007 #pragma once
0008 
0009 #include "calendarsupport_export.h"
0010 #include <Akonadi/ETMCalendar>
0011 
0012 namespace CalendarSupport
0013 {
0014 /**
0015  * ETMCalendar to be used by kontact plugins to avoid having
0016  * 3 loaded calendars which occupy lots of memory.
0017  */
0018 CALENDARSUPPORT_EXPORT Akonadi::ETMCalendar::Ptr calendarSingleton(bool createIfNull = true);
0019 }