summaryrefslogtreecommitdiffabout
path: root/kaddressbook/xxport/kde2_xxport.cpp
Side-by-side diff
Diffstat (limited to 'kaddressbook/xxport/kde2_xxport.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/xxport/kde2_xxport.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/kaddressbook/xxport/kde2_xxport.cpp b/kaddressbook/xxport/kde2_xxport.cpp
index d5fc075..3fdb36d 100644
--- a/kaddressbook/xxport/kde2_xxport.cpp
+++ b/kaddressbook/xxport/kde2_xxport.cpp
@@ -57,15 +57,20 @@ class KDE2XXPortFactory : public XXPortFactory
}
};
+#endif //KAB_EMBEDDED
+
extern "C"
{
+#ifndef KAB_EMBEDDED
void *init_libkaddrbk_kde2_xxport()
+#else //KAB_EMBEDDED
+ void *init_kaddrbk_kde2_xxport()
+#endif //KAB_EMBEDDED
{
return ( new KDE2XXPortFactory() );
}
}
-#endif //KAB_EMBEDDED
KDE2XXPort::KDE2XXPort( KABC::AddressBook *ab, QWidget *parent, const char *name )