zijiehe | 49c01d7 | 2016-08-17 00:33:55 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 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 | |
| 11 | // TODO(zijiehe): Implement ScreenDrawerMac |
| 12 | |
Mirko Bonadei | 317a1f0 | 2019-09-17 15:06:18 | [diff] [blame] | 13 | #include <memory> |
| 14 | |
Mirko Bonadei | 92ea95e | 2017-09-15 04:47:31 | [diff] [blame] | 15 | #include "modules/desktop_capture/screen_drawer.h" |
| 16 | #include "modules/desktop_capture/screen_drawer_lock_posix.h" |
zijiehe | 49c01d7 | 2016-08-17 00:33:55 | [diff] [blame] | 17 | |
| 18 | namespace webrtc { |
| 19 | |
| 20 | // static |
zijiehe | 6a4607e | 2016-10-19 01:22:18 | [diff] [blame] | 21 | std::unique_ptr<ScreenDrawerLock> ScreenDrawerLock::Create() { |
Mirko Bonadei | 317a1f0 | 2019-09-17 15:06:18 | [diff] [blame] | 22 | return std::make_unique<ScreenDrawerLockPosix>(); |
zijiehe | 6a4607e | 2016-10-19 01:22:18 | [diff] [blame] | 23 | } |
| 24 | |
| 25 | // static |
zijiehe | 49c01d7 | 2016-08-17 00:33:55 | [diff] [blame] | 26 | std::unique_ptr<ScreenDrawer> ScreenDrawer::Create() { |
| 27 | return nullptr; |
| 28 | } |
| 29 | |
| 30 | } // namespace webrtc |