invitationhandlerif.h
Go to the documentation of this file.
1#ifndef INVITATIONHANDLERIF_H
2#define INVITATIONHANDLERIF_H
3/*
4 This file is part of the kcal library.
5
6 Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
7 Contact: Alvaro Manera <alvaro.manera@nokia.com>
8
9 This library is free software; you can redistribute it and/or
10 modify it under the terms of the GNU Library General Public
11 License as published by the Free Software Foundation; either
12 version 2 of the License, or (at your option) any later version.
13
14 This library is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 Library General Public License for more details.
18
19 You should have received a copy of the GNU Library General Public License
20 along with this library; see the file COPYING.LIB. If not, write to
21 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22 Boston, MA 02110-1301, USA.
23*/
24
25#include <QtPlugin>
26
27#include <KCalendarCore/Incidence>
28
29class QString;
30
50
51public:
52
61 virtual bool sendInvitation(const QString &accountId, const QString &notebookUid, const KCalendarCore::Incidence::Ptr &invitation, const QString &body) =0;
62
71 virtual bool sendUpdate(const QString &accountId, const KCalendarCore::Incidence::Ptr &invitation, const QString &body) = 0;
72
81 virtual bool sendResponse(const QString &accountId, const KCalendarCore::Incidence::Ptr &invitation, const QString &body) = 0;
82
88 virtual QString pluginName() const = 0;
89
91};
92
93Q_DECLARE_INTERFACE(InvitationHandlerInterface,
94 "org.kde.Organizer.InvitationHanderInterface/1.0")
95
96#endif // INVITATIONHANDLERIF_H
Interface implemented by plugins for handling invitations.
Definition: invitationhandlerif.h:49
virtual QString pluginName() const =0
The name of this plugin.
virtual bool sendInvitation(const QString &accountId, const QString &notebookUid, const KCalendarCore::Incidence::Ptr &invitation, const QString &body)=0
Send a new Invitation to all the participants.
virtual ~InvitationHandlerInterface()
Definition: invitationhandlerif.h:90
virtual bool sendUpdate(const QString &accountId, const KCalendarCore::Incidence::Ptr &invitation, const QString &body)=0
Send a updated invitation to all the participants.
virtual bool sendResponse(const QString &accountId, const KCalendarCore::Incidence::Ptr &invitation, const QString &body)=0
Send the updated invitation back to the Organiser.

Generated on Mon May 30 2022 06:54:51 for libextendedkcal by doxygen 1.9.5