|
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 |
|
13 #define NS_STARTTLSSOCKETPROVIDER_CID \ |
|
14 { /* b9507aec-1dd1-11b2-8cd5-c48ee0c50307 */ \ |
|
15 0xb9507aec, \ |
|
16 0x1dd1, \ |
|
17 0x11b2, \ |
|
18 {0x8c, 0xd5, 0xc4, 0x8e, 0xe0, 0xc5, 0x03, 0x07} \ |
|
19 } |
|
20 |
|
21 class nsTLSSocketProvider : public nsISocketProvider |
|
22 { |
|
23 public: |
|
24 NS_DECL_THREADSAFE_ISUPPORTS |
|
25 NS_DECL_NSISOCKETPROVIDER |
|
26 |
|
27 // nsTLSSocketProvider methods: |
|
28 nsTLSSocketProvider(); |
|
29 virtual ~nsTLSSocketProvider(); |
|
30 }; |
|
31 |
|
32 #endif /* _NSTLSSOCKETPROVIDER_H_ */ |