00001 /* 00002 This file is part of the mkcal library. 00003 00004 Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. 00005 Contact: Alvaro Manera <alvaro.manera@nokia.com> 00006 00007 This library is free software; you can redistribute it and/or 00008 modify it under the terms of the GNU Library General Public 00009 License as published by the Free Software Foundation; either 00010 version 2 of the License, or (at your option) any later version. 00011 00012 This library is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 Library General Public License for more details. 00016 00017 You should have received a copy of the GNU Library General Public License 00018 along with this library; see the file COPYING.LIB. If not, write to 00019 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00020 Boston, MA 02110-1301, USA. 00021 */ 00031 #ifndef MKCAL_STORAGEOBSERVER_H 00032 #define MKCAL_STORAGEOBSERVER_H 00033 00034 #include <QString> 00035 00036 00037 namespace mKCal { 00038 class ExtendedStorage; 00039 00045 class MKCAL_EXPORT ExtendedStorageObserver //krazy:exclude=dpointer 00046 { 00047 public: 00051 virtual ~ExtendedStorageObserver() {}; 00052 00060 virtual void storageModified( ExtendedStorage *storage, const QString &info ) = 0; 00061 00071 virtual void storageProgress( ExtendedStorage *storage, const QString &info ) = 0; 00072 00081 virtual void storageFinished( ExtendedStorage *storage, bool error, const QString &info ) = 0; 00082 }; 00083 00084 }; 00085 #endif /* !MKCAL_STORAGEOBSERVER_H */