extendedstorageobserver.h
Go to the documentation of this file.
1/*
2 This file is part of the mkcal library.
3
4 Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
5 Contact: Alvaro Manera <alvaro.manera@nokia.com>
6
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Library General Public
9 License as published by the Free Software Foundation; either
10 version 2 of the License, or (at your option) any later version.
11
12 This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Library General Public License for more details.
16
17 You should have received a copy of the GNU Library General Public License
18 along with this library; see the file COPYING.LIB. If not, write to
19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 Boston, MA 02110-1301, USA.
21*/
31#ifndef MKCAL_STORAGEOBSERVER_H
32#define MKCAL_STORAGEOBSERVER_H
33
34#include <QString>
35
36
37namespace mKCal {
38class ExtendedStorage;
39
45class MKCAL_EXPORT ExtendedStorageObserver //krazy:exclude=dpointer
46{
47public:
52
60 virtual void storageModified(ExtendedStorage *storage, const QString &info) = 0;
61
71 virtual void storageProgress(ExtendedStorage *storage, const QString &info) = 0;
72
81 virtual void storageFinished(ExtendedStorage *storage, bool error, const QString &info) = 0;
82};
83
84};
85#endif /* !MKCAL_STORAGEOBSERVER_H */
This class provides a calendar storage interface.
Definition: extendedstorage.h:76
The ExtendedStorageObserver class.
Definition: extendedstorageobserver.h:46
virtual void storageModified(ExtendedStorage *storage, const QString &info)=0
Notify the Observer that a Storage has been modified.
virtual ~ExtendedStorageObserver()
Destructor.
Definition: extendedstorageobserver.h:51
virtual void storageProgress(ExtendedStorage *storage, const QString &info)=0
Notify the Observer that a Storage is executing an action.
virtual void storageFinished(ExtendedStorage *storage, bool error, const QString &info)=0
Notify the Observer that a Storage has finished an action.
#define MKCAL_EXPORT
Definition: mkcal_export.h:27
Definition: extendedstorage.h:47

Generated on Mon Sep 13 2021 12:08:02 for libextendedkcal by doxygen 1.9.2