-rw-r--r-- | kabc/plugins/qtopia/resourceqtopia.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kabc/plugins/qtopia/resourceqtopia.cpp b/kabc/plugins/qtopia/resourceqtopia.cpp index 99e8618..d6df981 100644 --- a/kabc/plugins/qtopia/resourceqtopia.cpp +++ b/kabc/plugins/qtopia/resourceqtopia.cpp | |||
@@ -1,62 +1,63 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of libkabc. | 2 | This file is part of libkabc. |
3 | Copyright (c) 2001 Cornelius Schumacher <schumacher@kde.org> | 3 | Copyright (c) 2001 Cornelius Schumacher <schumacher@kde.org> |
4 | 4 | ||
5 | This library is free software; you can redistribute it and/or | 5 | This library is free software; you can redistribute it and/or |
6 | modify it under the terms of the GNU Library General Public | 6 | modify it under the terms of the GNU Library General Public |
7 | License as published by the Free Software Foundation; either | 7 | License as published by the Free Software Foundation; either |
8 | version 2 of the License, or (at your option) any later version. | 8 | version 2 of the License, or (at your option) any later version. |
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 | #include <sys/types.h> | 27 | #include <sys/types.h> |
28 | #include <sys/stat.h> | 28 | #include <sys/stat.h> |
29 | //#include <unistd.h> | 29 | #ifndef _WIN32_ |
30 | 30 | #include <unistd.h> | |
31 | #endif | ||
31 | #include <qdir.h> | 32 | #include <qdir.h> |
32 | #include <qfile.h> | 33 | #include <qfile.h> |
33 | #include <qtextstream.h> | 34 | #include <qtextstream.h> |
34 | #include <qfileinfo.h> | 35 | #include <qfileinfo.h> |
35 | #include <qregexp.h> | 36 | #include <qregexp.h> |
36 | //US #include <qtimer.h> | 37 | //US #include <qtimer.h> |
37 | 38 | ||
38 | #include <kapplication.h> | 39 | #include <kapplication.h> |
39 | #include <kconfig.h> | 40 | #include <kconfig.h> |
40 | #include <kdebug.h> | 41 | #include <kdebug.h> |
41 | #include <klocale.h> | 42 | #include <klocale.h> |
42 | //US #include <ksavefile.h> | 43 | //US #include <ksavefile.h> |
43 | #include <kstandarddirs.h> | 44 | #include <kstandarddirs.h> |
44 | #include <kmessagebox.h> | 45 | #include <kmessagebox.h> |
45 | 46 | ||
46 | 47 | ||
47 | #include "resourceqtopiaconfig.h" | 48 | #include "resourceqtopiaconfig.h" |
48 | #include "stdaddressbook.h" | 49 | #include "stdaddressbook.h" |
49 | 50 | ||
50 | #include "qtopiaconverter.h" | 51 | #include "qtopiaconverter.h" |
51 | 52 | ||
52 | #include "resourceqtopia.h" | 53 | #include "resourceqtopia.h" |
53 | 54 | ||
54 | using namespace KABC; | 55 | using namespace KABC; |
55 | 56 | ||
56 | extern "C" | 57 | extern "C" |
57 | #ifdef _WIN32_ | 58 | #ifdef _WIN32_ |
58 | __declspec(dllexport) | 59 | __declspec(dllexport) |
59 | #else | 60 | #else |
60 | { | 61 | { |
61 | #endif | 62 | #endif |
62 | void *init_microkabc_qtopia() | 63 | void *init_microkabc_qtopia() |