Honghai Zhang | cc411c0 | 2016-03-29 17:27:21 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2016 The WebRTC Project Authors. All rights reserved. |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license |
| 5 | * that can be found in the LICENSE file in the root of the source |
| 6 | * tree. An additional intellectual property rights grant can be found |
| 7 | * in the file PATENTS. All contributing project authors may |
| 8 | * be found in the AUTHORS file in the root of the source tree. |
| 9 | */ |
| 10 | |
Steve Anton | 10542f2 | 2019-01-11 09:11:00 -0800 | [diff] [blame] | 11 | #ifndef P2P_BASE_CANDIDATE_PAIR_INTERFACE_H_ |
| 12 | #define P2P_BASE_CANDIDATE_PAIR_INTERFACE_H_ |
Honghai Zhang | cc411c0 | 2016-03-29 17:27:21 -0700 | [diff] [blame] | 13 | |
| 14 | namespace cricket { |
| 15 | |
| 16 | class Candidate; |
| 17 | |
| 18 | class CandidatePairInterface { |
| 19 | public: |
| 20 | virtual ~CandidatePairInterface() {} |
| 21 | |
| 22 | virtual const Candidate& local_candidate() const = 0; |
| 23 | virtual const Candidate& remote_candidate() const = 0; |
Honghai Zhang | cc411c0 | 2016-03-29 17:27:21 -0700 | [diff] [blame] | 24 | }; |
| 25 | |
| 26 | } // namespace cricket |
| 27 | |
Steve Anton | 10542f2 | 2019-01-11 09:11:00 -0800 | [diff] [blame] | 28 | #endif // P2P_BASE_CANDIDATE_PAIR_INTERFACE_H_ |