-rw-r--r-- | kabc/formatplugin.h | 5 |
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 | /* |
22 | Enhanced Version of the file for platform independent KDE tools. | 22 | Enhanced Version of the file for platform independent KDE tools. |
23 | Copyright (c) 2004 Ulf Schenk | 23 | Copyright (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 | ||
36 | namespace KABC { | 36 | namespace KABC { |
37 | 37 | ||
38 | class AddressBook; | 38 | class AddressBook; |
39 | class Addressee; | 39 | class 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 | 49 | class FormatPlugin : public Plugin |
50 | class FormatPlugin | ||
51 | { | 50 | { |
52 | public: | 51 | public: |
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 | /** |