Diffstat (limited to 'kabc/plugins/qtopia/resourceqtopia.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kabc/plugins/qtopia/resourceqtopia.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/kabc/plugins/qtopia/resourceqtopia.cpp b/kabc/plugins/qtopia/resourceqtopia.cpp index 95fa541..99e8618 100644 --- a/kabc/plugins/qtopia/resourceqtopia.cpp +++ b/kabc/plugins/qtopia/resourceqtopia.cpp | |||
@@ -26,7 +26,7 @@ $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 | //#include <unistd.h> |
30 | 30 | ||
31 | #include <qdir.h> | 31 | #include <qdir.h> |
32 | #include <qfile.h> | 32 | #include <qfile.h> |
@@ -52,13 +52,20 @@ $Id$ | |||
52 | #include "resourceqtopia.h" | 52 | #include "resourceqtopia.h" |
53 | 53 | ||
54 | using namespace KABC; | 54 | using namespace KABC; |
55 | |||
55 | extern "C" | 56 | extern "C" |
57 | #ifdef _WIN32_ | ||
58 | __declspec(dllexport) | ||
59 | #else | ||
56 | { | 60 | { |
61 | #endif | ||
57 | void *init_microkabc_qtopia() | 62 | void *init_microkabc_qtopia() |
58 | { | 63 | { |
59 | return new KRES::PluginFactory<ResourceQtopia,ResourceQtopiaConfig>(); | 64 | return new KRES::PluginFactory<ResourceQtopia,ResourceQtopiaConfig>(); |
60 | } | 65 | } |
66 | #ifndef _WIN32_ | ||
61 | } | 67 | } |
68 | #endif | ||
62 | 69 | ||
63 | ResourceQtopia::ResourceQtopia( const KConfig *config ) | 70 | ResourceQtopia::ResourceQtopia( const KConfig *config ) |
64 | : Resource( config ), mConverter (0) | 71 | : Resource( config ), mConverter (0) |