summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-01-30 15:18:31 +0100
committerSlávek Banko <slavek.banko@axis.cz>2019-02-04 11:40:37 +0100
commit77563f4f4cb7daee00a988fc673b672f3f935680 (patch)
treef75bc5af9afc8193424818ad44ad6b801c469cfc /src
parented622a01c5f199a186ced3870f8a27ac294c6988 (diff)
downloadlibtdeldap-77563f4f4cb7daee00a988fc673b672f3f935680.tar.gz
libtdeldap-77563f4f4cb7daee00a988fc673b672f3f935680.zip
Add KDE_EXPORT to public library symbols.
This allows build with gcc hidden visibility. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src')
-rw-r--r--src/ldappasswddlg.h2
-rw-r--r--src/libtdeldap.h28
2 files changed, 15 insertions, 15 deletions
diff --git a/src/ldappasswddlg.h b/src/ldappasswddlg.h
index ed216a3..effd7cd 100644
--- a/src/ldappasswddlg.h
+++ b/src/ldappasswddlg.h
@@ -26,7 +26,7 @@
class LDAPLogin;
-class LDAPPasswordDialog : public KDialogBase
+class KDE_EXPORT LDAPPasswordDialog : public KDialogBase
{
Q_OBJECT
diff --git a/src/libtdeldap.h b/src/libtdeldap.h
index e75d94d..75bfc5c 100644
--- a/src/libtdeldap.h
+++ b/src/libtdeldap.h
@@ -168,7 +168,7 @@ typedef TQValueList<TQByteArray> TQByteArrayList;
typedef TQPair<uint32_t, TQByteArray> PKICertificateEntry;
typedef TQValueList<PKICertificateEntry> PKICertificateEntryList;
-class LDAPCredentials
+class KDE_EXPORT LDAPCredentials
{
public:
LDAPCredentials();
@@ -185,7 +185,7 @@ class LDAPCredentials
};
// PRIVATE
-class LDAPRealmConfig
+class KDE_EXPORT LDAPRealmConfig
{
public:
TQString name;
@@ -205,7 +205,7 @@ class LDAPRealmConfig
};
// PRIVATE
-class LDAPCertConfig
+class KDE_EXPORT LDAPCertConfig
{
public:
LDAPCertConfig();
@@ -235,7 +235,7 @@ class LDAPCertConfig
};
// PRIVATE
-class LDAPPamConfig
+class KDE_EXPORT LDAPPamConfig
{
public:
LDAPPamConfig();
@@ -251,7 +251,7 @@ class LDAPPamConfig
};
// PRIVATE
-class LDAPClientRealmConfig
+class KDE_EXPORT LDAPClientRealmConfig
{
public:
bool enable_bonding;
@@ -274,7 +274,7 @@ class LDAPClientRealmConfig
typedef TQMap<TQString, LDAPRealmConfig> LDAPRealmConfigList;
-class LDAPUserInfo
+class KDE_EXPORT LDAPUserInfo
{
public:
LDAPUserInfo();
@@ -357,7 +357,7 @@ class LDAPUserInfo
PKICertificateEntryList pkiCertificates;
};
-class LDAPGroupInfo
+class KDE_EXPORT LDAPGroupInfo
{
public:
LDAPGroupInfo();
@@ -374,7 +374,7 @@ class LDAPGroupInfo
TQStringList userlist;
};
-class LDAPMachineInfo
+class KDE_EXPORT LDAPMachineInfo
{
public:
LDAPMachineInfo();
@@ -391,7 +391,7 @@ class LDAPMachineInfo
LDAPKRB5Flags status; // Default is 126 [KRB5_MACHINE_ACCOUNT_DEFAULT]
};
-class LDAPServiceInfo
+class KDE_EXPORT LDAPServiceInfo
{
public:
LDAPServiceInfo();
@@ -409,7 +409,7 @@ class LDAPServiceInfo
LDAPKRB5Flags status; // Default is 126 [KRB5_SERVICE_PRINCIPAL_DEFAULT]
};
-class LDAPTDEBuiltinsInfo
+class KDE_EXPORT LDAPTDEBuiltinsInfo
{
public:
LDAPTDEBuiltinsInfo();
@@ -423,7 +423,7 @@ class LDAPTDEBuiltinsInfo
TQString builtinStandardUserGroup;
};
-class LDAPMasterReplicationMapping
+class KDE_EXPORT LDAPMasterReplicationMapping
{
public:
LDAPMasterReplicationMapping();
@@ -436,7 +436,7 @@ class LDAPMasterReplicationMapping
typedef TQValueList<LDAPMasterReplicationMapping> LDAPMasterReplicationMap;
-class LDAPMasterReplicationInfo
+class KDE_EXPORT LDAPMasterReplicationInfo
{
public:
LDAPMasterReplicationInfo();
@@ -457,7 +457,7 @@ class LDAPMasterReplicationInfo
bool replicate_olcGlobal;
};
-class KerberosTicketInfo
+class KDE_EXPORT KerberosTicketInfo
{
public:
KerberosTicketInfo();
@@ -488,7 +488,7 @@ typedef TQValueList<KerberosTicketInfo> KerberosTicketInfoList;
class PtyProcess;
-class LDAPManager : public TQObject {
+class KDE_EXPORT LDAPManager : public TQObject {
Q_OBJECT
public: