diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-08-05 22:21:07 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-08-06 11:57:25 +0900 |
commit | 16dfc46f065b5443891559c68f9840ddfbba08f9 (patch) | |
tree | 4c93c34b1176ef96c664fd0542552b8b5acadf78 | |
parent | 4e4c45b4200b8c1525b54c49e001f7e28dbbb53e (diff) | |
download | kmyfirewall-16dfc46f065b5443891559c68f9840ddfbba08f9.tar.gz kmyfirewall-16dfc46f065b5443891559c68f9840ddfbba08f9.zip |
Add missing TDE_EXPORT required for hidden visibility support
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
32 files changed, 43 insertions, 33 deletions
diff --git a/doc/en/index.docbook b/doc/en/index.docbook index 305e82e..b8de907 100644 --- a/doc/en/index.docbook +++ b/doc/en/index.docbook @@ -1157,7 +1157,7 @@ TQObject* KMFRuleOptionEditMACFactory::createObject( TQObject* parent, const cha } extern "C" { - void* init_libkmfruleoptionedit_mac() { + TDE_EXPORT void* init_libkmfruleoptionedit_mac() { return new KMFRuleOptionEditMACFactory; } } diff --git a/kmyfirewall/compilers/iptables/kmfiptablescompiler.cpp b/kmyfirewall/compilers/iptables/kmfiptablescompiler.cpp index 3ff9169..bebdc02 100644 --- a/kmyfirewall/compilers/iptables/kmfiptablescompiler.cpp +++ b/kmyfirewall/compilers/iptables/kmfiptablescompiler.cpp @@ -246,7 +246,7 @@ TQObject* KMFIPTablesCompilerFactory::createObject( TQObject* parent, const char // } extern "C" { - void* init_libkmfcompiler_ipt() { + TDE_EXPORT void* init_libkmfcompiler_ipt() { return new KMFIPTablesCompilerFactory; } } diff --git a/kmyfirewall/compilers/pf/kmfpfcompiler.cpp b/kmyfirewall/compilers/pf/kmfpfcompiler.cpp index c901b4b..5f9d500 100644 --- a/kmyfirewall/compilers/pf/kmfpfcompiler.cpp +++ b/kmyfirewall/compilers/pf/kmfpfcompiler.cpp @@ -454,7 +454,7 @@ TQObject* KMFPFCompilerFactory::createObject( TQObject* parent, const char* name // } extern "C" { - void* init_libkmfcompiler_pf() { + TDE_EXPORT void* init_libkmfcompiler_pf() { return new KMFPFCompilerFactory; } } diff --git a/kmyfirewall/core/kmfprotocollibrary.h b/kmyfirewall/core/kmfprotocollibrary.h index 8715421..8308689 100644 --- a/kmyfirewall/core/kmfprotocollibrary.h +++ b/kmyfirewall/core/kmfprotocollibrary.h @@ -26,7 +26,7 @@ class KMFProtocolCategory; /** @author Christian Hubinger <chubinger@irrsinnig.org> */ -class KMFProtocolLibrary : public TQObject { +class TDE_EXPORT KMFProtocolLibrary : public TQObject { TQ_OBJECT /** Static Stuff **/ diff --git a/kmyfirewall/core/kmfprotocolusage.h b/kmyfirewall/core/kmfprotocolusage.h index 25fb143..faeeb48 100644 --- a/kmyfirewall/core/kmfprotocolusage.h +++ b/kmyfirewall/core/kmfprotocolusage.h @@ -33,7 +33,7 @@ namespace KMF { @author Christian Hubinger <chubinger@irrsinnig.org> */ -class KMFProtocolUsage : public NetfilterObject { +class TDE_EXPORT KMFProtocolUsage : public NetfilterObject { friend class KMFProtocol; TQ_OBJECT diff --git a/kmyfirewall/core/kmfundoengine.h b/kmyfirewall/core/kmfundoengine.h index b8aac78..b4364d5 100644 --- a/kmyfirewall/core/kmfundoengine.h +++ b/kmyfirewall/core/kmfundoengine.h @@ -34,7 +34,7 @@ class KMFNetwork; @author Christian Hubinger <chubinger@irrsinnig.org> */ -class KMFUndoEngine : public TQObject { +class TDE_EXPORT KMFUndoEngine : public TQObject { TQ_OBJECT diff --git a/kmyfirewall/core/kprocesswrapper.h b/kmyfirewall/core/kprocesswrapper.h index d942372..ac880b0 100644 --- a/kmyfirewall/core/kprocesswrapper.h +++ b/kmyfirewall/core/kprocesswrapper.h @@ -16,6 +16,7 @@ // TQt Includes #include <tqobject.h> #include <tqstring.h> +#include <tdemacros.h> // KDE includes @@ -29,7 +30,7 @@ class KMFTarget; /** @author Christian Hubinger <chubinger@irrsinnig.org> */ -class TDEProcessWrapper : public TQObject { +class TDE_EXPORT TDEProcessWrapper : public TQObject { TQ_OBJECT diff --git a/kmyfirewall/core/xmlnames.h b/kmyfirewall/core/xmlnames.h index 2f74374..f568b5e 100644 --- a/kmyfirewall/core/xmlnames.h +++ b/kmyfirewall/core/xmlnames.h @@ -13,13 +13,14 @@ Author: Christian Hubinger <chubinger@irrsinnig.org>, (C) 2001-2008 #define XMLNAMES_H #include <tqstring.h> +#include <tdemacros.h> /** @author Christian Hubinger <chubinger@irrsinnig.org> */ namespace KMF { -class XML { +class TDE_EXPORT XML { private: XML(); @@ -129,7 +130,7 @@ class XML { -class Constants { +class TDE_EXPORT Constants { private: Constants(); public: diff --git a/kmyfirewall/genericinterface/kmfgenericinterface_part.cpp b/kmyfirewall/genericinterface/kmfgenericinterface_part.cpp index cc5cd9b..39953de 100644 --- a/kmyfirewall/genericinterface/kmfgenericinterface_part.cpp +++ b/kmyfirewall/genericinterface/kmfgenericinterface_part.cpp @@ -248,7 +248,7 @@ TDEInstance* KMFGenericInterfacePartFactory::instance() { } extern "C" { - void* init_libkmfgenericinterfacepart() { + TDE_EXPORT void* init_libkmfgenericinterfacepart() { return new KMFGenericInterfacePartFactory; } } diff --git a/kmyfirewall/installer/kmfinstallerplugin.cpp b/kmyfirewall/installer/kmfinstallerplugin.cpp index 2b250b6..6b29d76 100644 --- a/kmyfirewall/installer/kmfinstallerplugin.cpp +++ b/kmyfirewall/installer/kmfinstallerplugin.cpp @@ -444,7 +444,7 @@ TQObject* KMFInstallerPluginFactory::createObject( TQObject* parent, const char* extern "C" { - void* init_libkmfinstallerplugin() { + TDE_EXPORT void* init_libkmfinstallerplugin() { return new KMFInstallerPluginFactory; } } diff --git a/kmyfirewall/installer/linux/kmfiptinstaller.cpp b/kmyfirewall/installer/linux/kmfiptinstaller.cpp index e507983..977a5de 100644 --- a/kmyfirewall/installer/linux/kmfiptinstaller.cpp +++ b/kmyfirewall/installer/linux/kmfiptinstaller.cpp @@ -1161,7 +1161,7 @@ TQObject* KMFIPTInstallerFactory::createObject( TQObject* parent, const char* na // } extern "C" { - void* init_libkmfinstaller_linux() { + TDE_EXPORT void* init_libkmfinstaller_linux() { return new KMFIPTInstallerFactory; } } diff --git a/kmyfirewall/installer/openbsd/kmfpfinstaller.cpp b/kmyfirewall/installer/openbsd/kmfpfinstaller.cpp index e13c902..65c09a5 100644 --- a/kmyfirewall/installer/openbsd/kmfpfinstaller.cpp +++ b/kmyfirewall/installer/openbsd/kmfpfinstaller.cpp @@ -1121,7 +1121,7 @@ TQObject* KMFPFInstallerFactory::createObject( TQObject* parent, const char* nam // } extern "C" { - void* init_libkmfinstaller_openbsd() { + TDE_EXPORT void* init_libkmfinstaller_openbsd() { return new KMFPFInstallerFactory; } } diff --git a/kmyfirewall/ipteditor/kmfipteditorpart.cpp b/kmyfirewall/ipteditor/kmfipteditorpart.cpp index 9df38b3..c3e0928 100644 --- a/kmyfirewall/ipteditor/kmfipteditorpart.cpp +++ b/kmyfirewall/ipteditor/kmfipteditorpart.cpp @@ -298,7 +298,7 @@ TDEInstance* KMFIPTEditorPartFactory::instance() { } extern "C" { - void* init_libkmfipteditorpart() { + TDE_EXPORT void* init_libkmfipteditorpart() { return new KMFIPTEditorPartFactory; } } diff --git a/kmyfirewall/kmfwidgets/kmfgenericinterfaceeditprotocol.h b/kmyfirewall/kmfwidgets/kmfgenericinterfaceeditprotocol.h index 54b806f..1d2b931 100644 --- a/kmyfirewall/kmfwidgets/kmfgenericinterfaceeditprotocol.h +++ b/kmyfirewall/kmfwidgets/kmfgenericinterfaceeditprotocol.h @@ -29,6 +29,7 @@ #include <tqstring.h> #include <tqguardedptr.h> #include <tqpixmap.h> +#include <tdemacros.h> /** @author Christian Hubinger @@ -44,7 +45,7 @@ class KMFProtocol; class KMFListViewItem; class KMFProtocolCategory; -class KMFGenericInterfaceEditProtocol : public KMyFirewallGenericInterfaceEditProtocolWidget { +class TDE_EXPORT KMFGenericInterfaceEditProtocol : public KMyFirewallGenericInterfaceEditProtocolWidget { TQ_OBJECT public: diff --git a/kmyfirewall/kmfwidgets/kmfmynetworkwidget.h b/kmyfirewall/kmfwidgets/kmfmynetworkwidget.h index d8fdb81..ef84144 100644 --- a/kmyfirewall/kmfwidgets/kmfmynetworkwidget.h +++ b/kmyfirewall/kmfwidgets/kmfmynetworkwidget.h @@ -24,6 +24,7 @@ #include <tqpixmap.h> #include <tqguardedptr.h> #include <tquuid.h> + class TDEPopupMenu; class TQTextEdit; @@ -39,7 +40,7 @@ class KMFTarget; class KMFListViewItem; class NetfilterObject; -class KMFMyNetworkWidget : public KMyFirewallMyNetworkWidget +class TDE_EXPORT KMFMyNetworkWidget : public KMyFirewallMyNetworkWidget { TQ_OBJECT diff --git a/kmyfirewall/kmfwidgets/kmfnethostpropertieswidget.h b/kmyfirewall/kmfwidgets/kmfnethostpropertieswidget.h index 95c2e55..c8aef70 100644 --- a/kmyfirewall/kmfwidgets/kmfnethostpropertieswidget.h +++ b/kmyfirewall/kmfwidgets/kmfnethostpropertieswidget.h @@ -17,12 +17,13 @@ // TQt include #include <tqguardedptr.h> +#include <tdemacros.h> namespace KMF { class KMFNetHost; class KMFIPv4AddressWidget; -class KMFNetHostPropertiesWidget : public KMyFirewallNetHostProperties { +class TDE_EXPORT KMFNetHostPropertiesWidget : public KMyFirewallNetHostProperties { TQ_OBJECT diff --git a/kmyfirewall/kmfwidgets/kmfprotocollistview.h b/kmyfirewall/kmfwidgets/kmfprotocollistview.h index 0b90169..cec2230 100644 --- a/kmyfirewall/kmfwidgets/kmfprotocollistview.h +++ b/kmyfirewall/kmfwidgets/kmfprotocollistview.h @@ -20,6 +20,7 @@ #include <tqguardedptr.h> #include <tqpixmap.h> #include <tquuid.h> +#include <tdemacros.h> @@ -31,7 +32,7 @@ class KMFProtocolCategory; class KMFNetZone; class KMFNetHost; -class KMFProtocolListView : public KMyFirewallProtocolListView { +class TDE_EXPORT KMFProtocolListView : public KMyFirewallProtocolListView { TQ_OBJECT diff --git a/kmyfirewall/kmfwidgets/kmfprotocolpropertieswidget.h b/kmyfirewall/kmfwidgets/kmfprotocolpropertieswidget.h index 612cf50..a12664b 100644 --- a/kmyfirewall/kmfwidgets/kmfprotocolpropertieswidget.h +++ b/kmyfirewall/kmfwidgets/kmfprotocolpropertieswidget.h @@ -21,13 +21,14 @@ #include <tqguardedptr.h> #include <tqpixmap.h> #include <tquuid.h> +#include <tdemacros.h> namespace KMF { class KMFProtocol; class KMFProtocolUsage; class KMFProtocolCategory; -class KMFProtocolPropertiesWidget : public KMyFirewallProtocolPropertiesWidget { +class TDE_EXPORT KMFProtocolPropertiesWidget : public KMyFirewallProtocolPropertiesWidget { TQ_OBJECT diff --git a/kmyfirewall/kmfwidgets/kmfselectactivetarget.h b/kmyfirewall/kmfwidgets/kmfselectactivetarget.h index 898c2cf..2d273cb 100644 --- a/kmyfirewall/kmfwidgets/kmfselectactivetarget.h +++ b/kmyfirewall/kmfwidgets/kmfselectactivetarget.h @@ -19,13 +19,15 @@ #include <tqstring.h> #include <tqguardedptr.h> #include <tqpoint.h> +#include <tdemacros.h> + class TQListViewItem; namespace KMF { class KMFNetwork; class KMFTarget; -class KMFSelectActiveTarget : public KMyFirewallSelectActiveTarget +class TDE_EXPORT KMFSelectActiveTarget : public KMyFirewallSelectActiveTarget { TQ_OBJECT diff --git a/kmyfirewall/kmfwidgets/kmftransactionlog.h b/kmyfirewall/kmfwidgets/kmftransactionlog.h index 37a2545..2c108a3 100644 --- a/kmyfirewall/kmfwidgets/kmftransactionlog.h +++ b/kmyfirewall/kmfwidgets/kmftransactionlog.h @@ -14,6 +14,7 @@ #define KMFTRANSACTIONLOG_H #include <tqlistview.h> +#include <tdemacros.h> #include "kmyfirewalltransactionlog.h" @@ -27,7 +28,7 @@ namespace KMF { class KMFTransaction; -class KMFTransactionLog : public KMyFirewallTransactionLog +class TDE_EXPORT KMFTransactionLog : public KMyFirewallTransactionLog { TQ_OBJECT diff --git a/kmyfirewall/ruleoptionplugins/custom_option/kmfruleoptioneditcustom.cpp b/kmyfirewall/ruleoptionplugins/custom_option/kmfruleoptioneditcustom.cpp index 3cab52d..0566e0e 100644 --- a/kmyfirewall/ruleoptionplugins/custom_option/kmfruleoptioneditcustom.cpp +++ b/kmyfirewall/ruleoptionplugins/custom_option/kmfruleoptioneditcustom.cpp @@ -119,7 +119,7 @@ TQObject* KMFRuleOptionEditCustomFactory::createObject( TQObject* parent, const // // } extern "C" { - void* init_libkmfruleoptionedit_custom() { + TDE_EXPORT void* init_libkmfruleoptionedit_custom() { return new KMFRuleOptionEditCustomFactory; } } diff --git a/kmyfirewall/ruleoptionplugins/interface_option/kmfruleoptioneditinterface.cpp b/kmyfirewall/ruleoptionplugins/interface_option/kmfruleoptioneditinterface.cpp index 0e45be8..a1e1c6c 100644 --- a/kmyfirewall/ruleoptionplugins/interface_option/kmfruleoptioneditinterface.cpp +++ b/kmyfirewall/ruleoptionplugins/interface_option/kmfruleoptioneditinterface.cpp @@ -109,7 +109,7 @@ TQObject* KMFRuleOptionEditorInterfaceFactory::createObject( TQObject* parent, c // } extern "C" { - void* init_libkmfruleoptionedit_interface() { + TDE_EXPORT void* init_libkmfruleoptionedit_interface() { return new KMFRuleOptionEditorInterfaceFactory; } } diff --git a/kmyfirewall/ruleoptionplugins/ip_option/kmfruleoptioneditip.cpp b/kmyfirewall/ruleoptionplugins/ip_option/kmfruleoptioneditip.cpp index 9d54c8c..2339ea4 100644 --- a/kmyfirewall/ruleoptionplugins/ip_option/kmfruleoptioneditip.cpp +++ b/kmyfirewall/ruleoptionplugins/ip_option/kmfruleoptioneditip.cpp @@ -117,7 +117,7 @@ TQObject* KMFRuleOptionEditIPFactory::createObject( TQObject* parent, const char // } extern "C" { - void* init_libkmfruleoptionedit_ip() { + TDE_EXPORT void* init_libkmfruleoptionedit_ip() { return new KMFRuleOptionEditIPFactory; } } diff --git a/kmyfirewall/ruleoptionplugins/limit_option/kmfruleoptioneditlimit.cpp b/kmyfirewall/ruleoptionplugins/limit_option/kmfruleoptioneditlimit.cpp index 6881aea..ccf4f38 100644 --- a/kmyfirewall/ruleoptionplugins/limit_option/kmfruleoptioneditlimit.cpp +++ b/kmyfirewall/ruleoptionplugins/limit_option/kmfruleoptioneditlimit.cpp @@ -119,7 +119,7 @@ TQObject* KMFRuleOptionEditLimitFactory::createObject( TQObject* parent, const c // } extern "C" { - void* init_libkmfruleoptionedit_limit() { + TDE_EXPORT void* init_libkmfruleoptionedit_limit() { return new KMFRuleOptionEditLimitFactory; } } diff --git a/kmyfirewall/ruleoptionplugins/log_target_option/kmfruletargetoptioneditlog.cpp b/kmyfirewall/ruleoptionplugins/log_target_option/kmfruletargetoptioneditlog.cpp index 2ee6d2c..48b6ac6 100644 --- a/kmyfirewall/ruleoptionplugins/log_target_option/kmfruletargetoptioneditlog.cpp +++ b/kmyfirewall/ruleoptionplugins/log_target_option/kmfruletargetoptioneditlog.cpp @@ -115,7 +115,7 @@ TQObject* KMFRuleTargetOptionEditLogFactory::createObject( TQObject* parent, con // } extern "C" { - void* init_libkmfruletargetoptionedit_log() { + TDE_EXPORT void* init_libkmfruletargetoptionedit_log() { return new KMFRuleTargetOptionEditLogFactory; } } diff --git a/kmyfirewall/ruleoptionplugins/mac_option/kmfruleoptioneditmac.cpp b/kmyfirewall/ruleoptionplugins/mac_option/kmfruleoptioneditmac.cpp index 3a44931..17036c7 100644 --- a/kmyfirewall/ruleoptionplugins/mac_option/kmfruleoptioneditmac.cpp +++ b/kmyfirewall/ruleoptionplugins/mac_option/kmfruleoptioneditmac.cpp @@ -100,7 +100,7 @@ TQObject* KMFRuleOptionEditMACFactory::createObject( TQObject* parent, const cha extern "C" { - void* init_libkmfruleoptionedit_mac() { + TDE_EXPORT void* init_libkmfruleoptionedit_mac() { return new KMFRuleOptionEditMACFactory; } } diff --git a/kmyfirewall/ruleoptionplugins/mark_target_option/kmfruletargetoptioneditmark.cpp b/kmyfirewall/ruleoptionplugins/mark_target_option/kmfruletargetoptioneditmark.cpp index de047c5..6be245d 100644 --- a/kmyfirewall/ruleoptionplugins/mark_target_option/kmfruletargetoptioneditmark.cpp +++ b/kmyfirewall/ruleoptionplugins/mark_target_option/kmfruletargetoptioneditmark.cpp @@ -120,7 +120,7 @@ TQObject* KMFRuleTargetOptionEditMarkFactory::createObject( TQObject* parent, co // } extern "C" { - void* init_libkmfruletargetoptionedit_mark() { + TDE_EXPORT void* init_libkmfruletargetoptionedit_mark() { return new KMFRuleTargetOptionEditMarkFactory; } } diff --git a/kmyfirewall/ruleoptionplugins/nat_target_option/kmfruletargetoptioneditnat.cpp b/kmyfirewall/ruleoptionplugins/nat_target_option/kmfruletargetoptioneditnat.cpp index a5912c8..8544cbb 100644 --- a/kmyfirewall/ruleoptionplugins/nat_target_option/kmfruletargetoptioneditnat.cpp +++ b/kmyfirewall/ruleoptionplugins/nat_target_option/kmfruletargetoptioneditnat.cpp @@ -132,7 +132,7 @@ TQObject* KMFRuleTargetOptionEditNatFactory::createObject( TQObject* parent, con // } extern "C" { - void* init_libkmfruletargetoptionedit_nat() { + TDE_EXPORT void* init_libkmfruletargetoptionedit_nat() { return new KMFRuleTargetOptionEditNatFactory; } } diff --git a/kmyfirewall/ruleoptionplugins/protocol_option/kmfruleoptioneditprotocol.cpp b/kmyfirewall/ruleoptionplugins/protocol_option/kmfruleoptioneditprotocol.cpp index 30e0930..0d57988 100644 --- a/kmyfirewall/ruleoptionplugins/protocol_option/kmfruleoptioneditprotocol.cpp +++ b/kmyfirewall/ruleoptionplugins/protocol_option/kmfruleoptioneditprotocol.cpp @@ -122,7 +122,7 @@ TQObject* KMFRuleOptionEditProtocolFactory::createObject( TQObject* parent, cons // } extern "C" { - void* init_libkmfruleoptionedit_protocol() { + TDE_EXPORT void* init_libkmfruleoptionedit_protocol() { return new KMFRuleOptionEditProtocolFactory; } } diff --git a/kmyfirewall/ruleoptionplugins/state_option/kmfruleoptioneditstate.cpp b/kmyfirewall/ruleoptionplugins/state_option/kmfruleoptioneditstate.cpp index c180cbf..9cf0a33 100644 --- a/kmyfirewall/ruleoptionplugins/state_option/kmfruleoptioneditstate.cpp +++ b/kmyfirewall/ruleoptionplugins/state_option/kmfruleoptioneditstate.cpp @@ -115,7 +115,7 @@ TQObject* KMFRuleOptionEditStateFactory::createObject( TQObject* parent, const c // } extern "C" { - void* init_libkmfruleoptionedit_state() { + TDE_EXPORT void* init_libkmfruleoptionedit_state() { return new KMFRuleOptionEditStateFactory; } } diff --git a/kmyfirewall/ruleoptionplugins/tos_option/kmfruleoptionedittos.cpp b/kmyfirewall/ruleoptionplugins/tos_option/kmfruleoptionedittos.cpp index fb900c4..b54874f 100644 --- a/kmyfirewall/ruleoptionplugins/tos_option/kmfruleoptionedittos.cpp +++ b/kmyfirewall/ruleoptionplugins/tos_option/kmfruleoptionedittos.cpp @@ -120,7 +120,7 @@ TQObject* KMFRuleOptionEditTosFactory::createObject( TQObject* parent, const cha // } extern "C" { - void* init_libkmfruleoptionedit_tos() { + TDE_EXPORT void* init_libkmfruleoptionedit_tos() { return new KMFRuleOptionEditTosFactory; } } diff --git a/kmyfirewall/ruleoptionplugins/tos_target_option/kmfruletargetoptionedittos.cpp b/kmyfirewall/ruleoptionplugins/tos_target_option/kmfruletargetoptionedittos.cpp index a11e15c..457d84d 100644 --- a/kmyfirewall/ruleoptionplugins/tos_target_option/kmfruletargetoptionedittos.cpp +++ b/kmyfirewall/ruleoptionplugins/tos_target_option/kmfruletargetoptionedittos.cpp @@ -119,7 +119,7 @@ TQObject* KMFRuleTargetOptionEditTosFactory::createObject( TQObject* parent, con // } extern "C" { - void* init_libkmfruletargetoptionedit_tos() { + TDE_EXPORT void* init_libkmfruletargetoptionedit_tos() { return new KMFRuleTargetOptionEditTosFactory; } } |