Diffstat (limited to 'kaddressbook/xxport/csv_xxport.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | kaddressbook/xxport/csv_xxport.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/kaddressbook/xxport/csv_xxport.cpp b/kaddressbook/xxport/csv_xxport.cpp index ce35053..caee66d 100644 --- a/kaddressbook/xxport/csv_xxport.cpp +++ b/kaddressbook/xxport/csv_xxport.cpp @@ -49,33 +49,38 @@ $Id$ #ifndef KAB_EMBEDDED class CSVXXPortFactory : public XXPortFactory { public: XXPortObject *xxportObject( KABC::AddressBook *ab, QWidget *parent, const char *name ) { return new CSVXXPort( ab, parent, name ); } }; +#endif //KAB_EMBEDDED + extern "C" { +#ifndef KAB_EMBEDDED void *init_libkaddrbk_csv_xxport() +#else //KAB_EMBEDDED + void *init_kaddrbk_csv_xxport() +#endif //KAB_EMBEDDED { return ( new CSVXXPortFactory() ); } } -#endif //KAB_EMBEDDED CSVXXPort::CSVXXPort( KABC::AddressBook *ab, QWidget *parent, const char *name ) : XXPortObject( ab, parent, name ) { createImportAction( i18n( "Import CSV List..." ) ); createExportAction( i18n( "Export CSV List..." ) ); } bool CSVXXPort::exportContacts( const KABC::AddresseeList &list, const QString& ) { #ifndef KAB_EMBEDDED |