diff options
Diffstat (limited to 'mailnews/addrbook/src/nsAbLDAPReplicationService.h')
-rw-r--r-- | mailnews/addrbook/src/nsAbLDAPReplicationService.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/mailnews/addrbook/src/nsAbLDAPReplicationService.h b/mailnews/addrbook/src/nsAbLDAPReplicationService.h new file mode 100644 index 000000000..07fb768f7 --- /dev/null +++ b/mailnews/addrbook/src/nsAbLDAPReplicationService.h @@ -0,0 +1,33 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + + + +#ifndef nsAbLDAPReplicationService_h___ +#define nsAbLDAPReplicationService_h___ + +#include "nsIAbLDAPReplicationService.h" +#include "nsIAbLDAPReplicationQuery.h" +#include "nsStringGlue.h" + +class nsAbLDAPReplicationService : public nsIAbLDAPReplicationService +{ +public: + NS_DECL_ISUPPORTS + NS_DECL_NSIABLDAPREPLICATIONSERVICE + + nsAbLDAPReplicationService(); + + int32_t DecideProtocol(); + +protected: + virtual ~nsAbLDAPReplicationService(); + nsCOMPtr<nsIAbLDAPReplicationQuery> mQuery; + bool mReplicating; + nsCOMPtr<nsIAbLDAPDirectory> mDirectory; + +}; + + +#endif /* nsAbLDAPReplicationService_h___ */ |