nsTLSSocketProvider.h (948B)
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- 2 * 3 * This Source Code Form is subject to the terms of the Mozilla Public 4 * License, v. 2.0. If a copy of the MPL was not distributed with this 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 6 7 #ifndef _NSTLSSOCKETPROVIDER_H_ 8 #define _NSTLSSOCKETPROVIDER_H_ 9 10 #include "nsISocketProvider.h" 11 12 #define NS_STARTTLSSOCKETPROVIDER_CID \ 13 {/* b9507aec-1dd1-11b2-8cd5-c48ee0c50307 */ \ 14 0xb9507aec, \ 15 0x1dd1, \ 16 0x11b2, \ 17 {0x8c, 0xd5, 0xc4, 0x8e, 0xe0, 0xc5, 0x03, 0x07}} 18 19 class nsTLSSocketProvider : public nsISocketProvider { 20 public: 21 NS_DECL_THREADSAFE_ISUPPORTS 22 NS_DECL_NSISOCKETPROVIDER 23 24 // nsTLSSocketProvider methods: 25 nsTLSSocketProvider(); 26 27 protected: 28 virtual ~nsTLSSocketProvider(); 29 }; 30 31 #endif /* _NSTLSSOCKETPROVIDER_H_ */