summaryrefslogtreecommitdiffabout
path: root/kabc/formatplugin.h
Unidiff
Diffstat (limited to 'kabc/formatplugin.h') (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/formatplugin.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/kabc/formatplugin.h b/kabc/formatplugin.h
index d784daf..40a6922 100644
--- a/kabc/formatplugin.h
+++ b/kabc/formatplugin.h
@@ -9,66 +9,65 @@
9 9
10 This library is distributed in the hope that it will be useful, 10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details. 13 Library General Public License for more details.
14 14
15 You should have received a copy of the GNU Library General Public License 15 You should have received a copy of the GNU Library General Public License
16 along with this library; see the file COPYING.LIB. If not, write to 16 along with this library; see the file COPYING.LIB. If not, write to
17 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 17 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA. 18 Boston, MA 02111-1307, USA.
19*/ 19*/
20 20
21/* 21/*
22Enhanced Version of the file for platform independent KDE tools. 22Enhanced Version of the file for platform independent KDE tools.
23Copyright (c) 2004 Ulf Schenk 23Copyright (c) 2004 Ulf Schenk
24 24
25$Id$ 25$Id$
26*/ 26*/
27 27
28#ifndef KABC_FORMATPLUGIN_H 28#ifndef KABC_FORMATPLUGIN_H
29#define KABC_FORMATPLUGIN_H 29#define KABC_FORMATPLUGIN_H
30 30
31#include <qfile.h> 31#include <qfile.h>
32 32
33//US #include "plugin.h" 33#include "plugin.h"
34#include "resource.h" 34#include "resource.h"
35 35
36namespace KABC { 36namespace KABC {
37 37
38class AddressBook; 38class AddressBook;
39class Addressee; 39class Addressee;
40 40
41/** 41/**
42 * @short Base class for address book formats. 42 * @short Base class for address book formats.
43 * 43 *
44 * This class provides an abstract interface for ResourceFile and 44 * This class provides an abstract interface for ResourceFile and
45 * ResourceDir formats. 45 * ResourceDir formats.
46 * 46 *
47 * @internal 47 * @internal
48 */ 48 */
49//US class FormatPlugin : public Plugin 49class FormatPlugin : public Plugin
50class FormatPlugin
51{ 50{
52public: 51public:
53 52
54 /** 53 /**
55 * Load single addressee from file. 54 * Load single addressee from file.
56 */ 55 */
57 virtual bool load( Addressee &, QFile *file ) = 0; 56 virtual bool load( Addressee &, QFile *file ) = 0;
58 57
59 /** 58 /**
60 * Load whole addressbook from file. 59 * Load whole addressbook from file.
61 */ 60 */
62 virtual bool loadAll( AddressBook *, Resource *, QFile *file ) = 0; 61 virtual bool loadAll( AddressBook *, Resource *, QFile *file ) = 0;
63 62
64 /** 63 /**
65 * Save a single Addressee to file. 64 * Save a single Addressee to file.
66 */ 65 */
67 virtual void save( const Addressee &, QFile *file ) = 0; 66 virtual void save( const Addressee &, QFile *file ) = 0;
68 67
69 /** 68 /**
70 * Save whole addressbook to file. 69 * Save whole addressbook to file.
71 */ 70 */
72 virtual void saveAll( AddressBook *, Resource *, QFile *file ) = 0; 71 virtual void saveAll( AddressBook *, Resource *, QFile *file ) = 0;
73 72
74 /** 73 /**