From 6513e41cb75e64384f35470d59ad6a4f88092e82 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Sun, 3 Nov 2019 13:17:15 -0500 Subject: Issue #1258 - Part 2: Use binoc-central version of ldap --- ldap/xpcom/src/moz.build | 2 +- ldap/xpcom/src/nsLDAPURL.cpp | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) (limited to 'ldap/xpcom') diff --git a/ldap/xpcom/src/moz.build b/ldap/xpcom/src/moz.build index 06753e317..dc63d6118 100644 --- a/ldap/xpcom/src/moz.build +++ b/ldap/xpcom/src/moz.build @@ -48,6 +48,6 @@ else: FINAL_LIBRARY = 'xul' LOCAL_INCLUDES += [ - '/ldap/c-sdk/include', + '../../c-sdk/include', ] diff --git a/ldap/xpcom/src/nsLDAPURL.cpp b/ldap/xpcom/src/nsLDAPURL.cpp index 375743848..752ee5b3b 100644 --- a/ldap/xpcom/src/nsLDAPURL.cpp +++ b/ldap/xpcom/src/nsLDAPURL.cpp @@ -723,3 +723,28 @@ nsLDAPURL::GetHasRef(bool *result) { return mBaseURL->GetHasRef(result); } + + +NS_IMETHODIMP +nsLDAPURL::GetFilePath(nsACString &aFilePath) +{ + return mBaseURL->GetFilePath(aFilePath); +} + +NS_IMETHODIMP +nsLDAPURL::SetFilePath(const nsACString &aFilePath) +{ + return mBaseURL->SetFilePath(aFilePath); +} + +NS_IMETHODIMP +nsLDAPURL::GetQuery(nsACString &aQuery) +{ + return mBaseURL->GetQuery(aQuery); +} + +NS_IMETHODIMP +nsLDAPURL::SetQuery(const nsACString &aQuery) +{ + return mBaseURL->SetQuery(aQuery); +} \ No newline at end of file -- cgit v1.2.3