Add missing TDE_EXPORT required for hidden visibility support

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/17/head
Michele Calgaro 4 months ago
parent 4e4c45b420
commit 16dfc46f06
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -1157,7 +1157,7 @@ TQObject* KMFRuleOptionEditMACFactory::createObject( TQObject* parent, const cha
} }
extern "C" { extern "C" {
void* init_libkmfruleoptionedit_mac() { TDE_EXPORT void* init_libkmfruleoptionedit_mac() {
return new KMFRuleOptionEditMACFactory; return new KMFRuleOptionEditMACFactory;
} }
} }

@ -246,7 +246,7 @@ TQObject* KMFIPTablesCompilerFactory::createObject( TQObject* parent, const char
// } // }
extern "C" { extern "C" {
void* init_libkmfcompiler_ipt() { TDE_EXPORT void* init_libkmfcompiler_ipt() {
return new KMFIPTablesCompilerFactory; return new KMFIPTablesCompilerFactory;
} }
} }

@ -454,7 +454,7 @@ TQObject* KMFPFCompilerFactory::createObject( TQObject* parent, const char* name
// } // }
extern "C" { extern "C" {
void* init_libkmfcompiler_pf() { TDE_EXPORT void* init_libkmfcompiler_pf() {
return new KMFPFCompilerFactory; return new KMFPFCompilerFactory;
} }
} }

@ -26,7 +26,7 @@ class KMFProtocolCategory;
/** /**
@author Christian Hubinger <chubinger@irrsinnig.org> @author Christian Hubinger <chubinger@irrsinnig.org>
*/ */
class KMFProtocolLibrary : public TQObject { class TDE_EXPORT KMFProtocolLibrary : public TQObject {
TQ_OBJECT TQ_OBJECT
/** Static Stuff **/ /** Static Stuff **/

@ -33,7 +33,7 @@ namespace KMF {
@author Christian Hubinger <chubinger@irrsinnig.org> @author Christian Hubinger <chubinger@irrsinnig.org>
*/ */
class KMFProtocolUsage : public NetfilterObject { class TDE_EXPORT KMFProtocolUsage : public NetfilterObject {
friend class KMFProtocol; friend class KMFProtocol;
TQ_OBJECT TQ_OBJECT

@ -34,7 +34,7 @@ class KMFNetwork;
@author Christian Hubinger <chubinger@irrsinnig.org> @author Christian Hubinger <chubinger@irrsinnig.org>
*/ */
class KMFUndoEngine : public TQObject { class TDE_EXPORT KMFUndoEngine : public TQObject {
TQ_OBJECT TQ_OBJECT

@ -16,6 +16,7 @@
// TQt Includes // TQt Includes
#include <tqobject.h> #include <tqobject.h>
#include <tqstring.h> #include <tqstring.h>
#include <tdemacros.h>
// KDE includes // KDE includes
@ -29,7 +30,7 @@ class KMFTarget;
/** /**
@author Christian Hubinger <chubinger@irrsinnig.org> @author Christian Hubinger <chubinger@irrsinnig.org>
*/ */
class TDEProcessWrapper : public TQObject { class TDE_EXPORT TDEProcessWrapper : public TQObject {
TQ_OBJECT TQ_OBJECT

@ -13,13 +13,14 @@ Author: Christian Hubinger <chubinger@irrsinnig.org>, (C) 2001-2008
#define XMLNAMES_H #define XMLNAMES_H
#include <tqstring.h> #include <tqstring.h>
#include <tdemacros.h>
/** /**
@author Christian Hubinger <chubinger@irrsinnig.org> @author Christian Hubinger <chubinger@irrsinnig.org>
*/ */
namespace KMF { namespace KMF {
class XML { class TDE_EXPORT XML {
private: private:
XML(); XML();
@ -129,7 +130,7 @@ class XML {
class Constants { class TDE_EXPORT Constants {
private: private:
Constants(); Constants();
public: public:

@ -248,7 +248,7 @@ TDEInstance* KMFGenericInterfacePartFactory::instance() {
} }
extern "C" { extern "C" {
void* init_libkmfgenericinterfacepart() { TDE_EXPORT void* init_libkmfgenericinterfacepart() {
return new KMFGenericInterfacePartFactory; return new KMFGenericInterfacePartFactory;
} }
} }

@ -444,7 +444,7 @@ TQObject* KMFInstallerPluginFactory::createObject( TQObject* parent, const char*
extern "C" { extern "C" {
void* init_libkmfinstallerplugin() { TDE_EXPORT void* init_libkmfinstallerplugin() {
return new KMFInstallerPluginFactory; return new KMFInstallerPluginFactory;
} }
} }

@ -1161,7 +1161,7 @@ TQObject* KMFIPTInstallerFactory::createObject( TQObject* parent, const char* na
// } // }
extern "C" { extern "C" {
void* init_libkmfinstaller_linux() { TDE_EXPORT void* init_libkmfinstaller_linux() {
return new KMFIPTInstallerFactory; return new KMFIPTInstallerFactory;
} }
} }

@ -1121,7 +1121,7 @@ TQObject* KMFPFInstallerFactory::createObject( TQObject* parent, const char* nam
// } // }
extern "C" { extern "C" {
void* init_libkmfinstaller_openbsd() { TDE_EXPORT void* init_libkmfinstaller_openbsd() {
return new KMFPFInstallerFactory; return new KMFPFInstallerFactory;
} }
} }

@ -298,7 +298,7 @@ TDEInstance* KMFIPTEditorPartFactory::instance() {
} }
extern "C" { extern "C" {
void* init_libkmfipteditorpart() { TDE_EXPORT void* init_libkmfipteditorpart() {
return new KMFIPTEditorPartFactory; return new KMFIPTEditorPartFactory;
} }
} }

@ -29,6 +29,7 @@
#include <tqstring.h> #include <tqstring.h>
#include <tqguardedptr.h> #include <tqguardedptr.h>
#include <tqpixmap.h> #include <tqpixmap.h>
#include <tdemacros.h>
/** /**
@author Christian Hubinger @author Christian Hubinger
@ -44,7 +45,7 @@ class KMFProtocol;
class KMFListViewItem; class KMFListViewItem;
class KMFProtocolCategory; class KMFProtocolCategory;
class KMFGenericInterfaceEditProtocol : public KMyFirewallGenericInterfaceEditProtocolWidget { class TDE_EXPORT KMFGenericInterfaceEditProtocol : public KMyFirewallGenericInterfaceEditProtocolWidget {
TQ_OBJECT TQ_OBJECT
public: public:

@ -24,6 +24,7 @@
#include <tqpixmap.h> #include <tqpixmap.h>
#include <tqguardedptr.h> #include <tqguardedptr.h>
#include <tquuid.h> #include <tquuid.h>
class TDEPopupMenu; class TDEPopupMenu;
class TQTextEdit; class TQTextEdit;
@ -39,7 +40,7 @@ class KMFTarget;
class KMFListViewItem; class KMFListViewItem;
class NetfilterObject; class NetfilterObject;
class KMFMyNetworkWidget : public KMyFirewallMyNetworkWidget class TDE_EXPORT KMFMyNetworkWidget : public KMyFirewallMyNetworkWidget
{ {
TQ_OBJECT TQ_OBJECT

@ -17,12 +17,13 @@
// TQt include // TQt include
#include <tqguardedptr.h> #include <tqguardedptr.h>
#include <tdemacros.h>
namespace KMF { namespace KMF {
class KMFNetHost; class KMFNetHost;
class KMFIPv4AddressWidget; class KMFIPv4AddressWidget;
class KMFNetHostPropertiesWidget : public KMyFirewallNetHostProperties { class TDE_EXPORT KMFNetHostPropertiesWidget : public KMyFirewallNetHostProperties {
TQ_OBJECT TQ_OBJECT

@ -20,6 +20,7 @@
#include <tqguardedptr.h> #include <tqguardedptr.h>
#include <tqpixmap.h> #include <tqpixmap.h>
#include <tquuid.h> #include <tquuid.h>
#include <tdemacros.h>
@ -31,7 +32,7 @@ class KMFProtocolCategory;
class KMFNetZone; class KMFNetZone;
class KMFNetHost; class KMFNetHost;
class KMFProtocolListView : public KMyFirewallProtocolListView { class TDE_EXPORT KMFProtocolListView : public KMyFirewallProtocolListView {
TQ_OBJECT TQ_OBJECT

@ -21,13 +21,14 @@
#include <tqguardedptr.h> #include <tqguardedptr.h>
#include <tqpixmap.h> #include <tqpixmap.h>
#include <tquuid.h> #include <tquuid.h>
#include <tdemacros.h>
namespace KMF { namespace KMF {
class KMFProtocol; class KMFProtocol;
class KMFProtocolUsage; class KMFProtocolUsage;
class KMFProtocolCategory; class KMFProtocolCategory;
class KMFProtocolPropertiesWidget : public KMyFirewallProtocolPropertiesWidget { class TDE_EXPORT KMFProtocolPropertiesWidget : public KMyFirewallProtocolPropertiesWidget {
TQ_OBJECT TQ_OBJECT

@ -19,13 +19,15 @@
#include <tqstring.h> #include <tqstring.h>
#include <tqguardedptr.h> #include <tqguardedptr.h>
#include <tqpoint.h> #include <tqpoint.h>
#include <tdemacros.h>
class TQListViewItem; class TQListViewItem;
namespace KMF { namespace KMF {
class KMFNetwork; class KMFNetwork;
class KMFTarget; class KMFTarget;
class KMFSelectActiveTarget : public KMyFirewallSelectActiveTarget class TDE_EXPORT KMFSelectActiveTarget : public KMyFirewallSelectActiveTarget
{ {
TQ_OBJECT TQ_OBJECT

@ -14,6 +14,7 @@
#define KMFTRANSACTIONLOG_H #define KMFTRANSACTIONLOG_H
#include <tqlistview.h> #include <tqlistview.h>
#include <tdemacros.h>
#include "kmyfirewalltransactionlog.h" #include "kmyfirewalltransactionlog.h"
@ -27,7 +28,7 @@ namespace KMF {
class KMFTransaction; class KMFTransaction;
class KMFTransactionLog : public KMyFirewallTransactionLog class TDE_EXPORT KMFTransactionLog : public KMyFirewallTransactionLog
{ {
TQ_OBJECT TQ_OBJECT

@ -119,7 +119,7 @@ TQObject* KMFRuleOptionEditCustomFactory::createObject( TQObject* parent, const
// // } // // }
extern "C" { extern "C" {
void* init_libkmfruleoptionedit_custom() { TDE_EXPORT void* init_libkmfruleoptionedit_custom() {
return new KMFRuleOptionEditCustomFactory; return new KMFRuleOptionEditCustomFactory;
} }
} }

@ -109,7 +109,7 @@ TQObject* KMFRuleOptionEditorInterfaceFactory::createObject( TQObject* parent, c
// } // }
extern "C" { extern "C" {
void* init_libkmfruleoptionedit_interface() { TDE_EXPORT void* init_libkmfruleoptionedit_interface() {
return new KMFRuleOptionEditorInterfaceFactory; return new KMFRuleOptionEditorInterfaceFactory;
} }
} }

@ -117,7 +117,7 @@ TQObject* KMFRuleOptionEditIPFactory::createObject( TQObject* parent, const char
// } // }
extern "C" { extern "C" {
void* init_libkmfruleoptionedit_ip() { TDE_EXPORT void* init_libkmfruleoptionedit_ip() {
return new KMFRuleOptionEditIPFactory; return new KMFRuleOptionEditIPFactory;
} }
} }

@ -119,7 +119,7 @@ TQObject* KMFRuleOptionEditLimitFactory::createObject( TQObject* parent, const c
// } // }
extern "C" { extern "C" {
void* init_libkmfruleoptionedit_limit() { TDE_EXPORT void* init_libkmfruleoptionedit_limit() {
return new KMFRuleOptionEditLimitFactory; return new KMFRuleOptionEditLimitFactory;
} }
} }

@ -115,7 +115,7 @@ TQObject* KMFRuleTargetOptionEditLogFactory::createObject( TQObject* parent, con
// } // }
extern "C" { extern "C" {
void* init_libkmfruletargetoptionedit_log() { TDE_EXPORT void* init_libkmfruletargetoptionedit_log() {
return new KMFRuleTargetOptionEditLogFactory; return new KMFRuleTargetOptionEditLogFactory;
} }
} }

@ -100,7 +100,7 @@ TQObject* KMFRuleOptionEditMACFactory::createObject( TQObject* parent, const cha
extern "C" { extern "C" {
void* init_libkmfruleoptionedit_mac() { TDE_EXPORT void* init_libkmfruleoptionedit_mac() {
return new KMFRuleOptionEditMACFactory; return new KMFRuleOptionEditMACFactory;
} }
} }

@ -120,7 +120,7 @@ TQObject* KMFRuleTargetOptionEditMarkFactory::createObject( TQObject* parent, co
// } // }
extern "C" { extern "C" {
void* init_libkmfruletargetoptionedit_mark() { TDE_EXPORT void* init_libkmfruletargetoptionedit_mark() {
return new KMFRuleTargetOptionEditMarkFactory; return new KMFRuleTargetOptionEditMarkFactory;
} }
} }

@ -132,7 +132,7 @@ TQObject* KMFRuleTargetOptionEditNatFactory::createObject( TQObject* parent, con
// } // }
extern "C" { extern "C" {
void* init_libkmfruletargetoptionedit_nat() { TDE_EXPORT void* init_libkmfruletargetoptionedit_nat() {
return new KMFRuleTargetOptionEditNatFactory; return new KMFRuleTargetOptionEditNatFactory;
} }
} }

@ -122,7 +122,7 @@ TQObject* KMFRuleOptionEditProtocolFactory::createObject( TQObject* parent, cons
// } // }
extern "C" { extern "C" {
void* init_libkmfruleoptionedit_protocol() { TDE_EXPORT void* init_libkmfruleoptionedit_protocol() {
return new KMFRuleOptionEditProtocolFactory; return new KMFRuleOptionEditProtocolFactory;
} }
} }

@ -115,7 +115,7 @@ TQObject* KMFRuleOptionEditStateFactory::createObject( TQObject* parent, const c
// } // }
extern "C" { extern "C" {
void* init_libkmfruleoptionedit_state() { TDE_EXPORT void* init_libkmfruleoptionedit_state() {
return new KMFRuleOptionEditStateFactory; return new KMFRuleOptionEditStateFactory;
} }
} }

@ -120,7 +120,7 @@ TQObject* KMFRuleOptionEditTosFactory::createObject( TQObject* parent, const cha
// } // }
extern "C" { extern "C" {
void* init_libkmfruleoptionedit_tos() { TDE_EXPORT void* init_libkmfruleoptionedit_tos() {
return new KMFRuleOptionEditTosFactory; return new KMFRuleOptionEditTosFactory;
} }
} }

@ -119,7 +119,7 @@ TQObject* KMFRuleTargetOptionEditTosFactory::createObject( TQObject* parent, con
// } // }
extern "C" { extern "C" {
void* init_libkmfruletargetoptionedit_tos() { TDE_EXPORT void* init_libkmfruletargetoptionedit_tos() {
return new KMFRuleTargetOptionEditTosFactory; return new KMFRuleTargetOptionEditTosFactory;
} }
} }

Loading…
Cancel
Save