KCalendarCore

freebusycache.h
Go to the documentation of this file.
1 /*
2  This file is part of the kcalcore library.
3 
4  SPDX-FileCopyrightText: 2004 Cornelius Schumacher <[email protected]>
5 
6  SPDX-License-Identifier: LGPL-2.0-or-later
7 */
16 #ifndef KCALCORE_FREEBUSYCACHE_H
17 #define KCALCORE_FREEBUSYCACHE_H
18 
19 #include "kcalendarcore_export.h"
20 
21 #include "freebusy.h"
22 
23 class QString;
24 
25 namespace KCalendarCore
26 {
27 
28 class Person;
29 
35 class KCALENDARCORE_EXPORT FreeBusyCache
36 {
37 public:
41  virtual ~FreeBusyCache();
42 
50  virtual bool saveFreeBusy(const FreeBusy::Ptr &freebusy, const Person &person) = 0;
51 
60  virtual FreeBusy::Ptr loadFreeBusy(const QString &email) = 0;
61 
62 protected:
66  virtual void virtual_hook(int id, void *data);
67 };
68 
69 }
70 
71 #endif
Represents a person, by name and email address.
Definition: person.h:38
An abstract base class to allow different implementations of storing free busy information, e.g.
Definition: freebusycache.h:35
This file is part of the API for handling calendar data and defines the FreeBusy class.
Namespace for all KCalendarCore types.
Definition: alarm.h:36
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Fri Aug 7 2020 22:48:57 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.