1678f1909fc6918687aedd02949bcdf0f0e1ac682jiayl@webrtc.org/* 2678f1909fc6918687aedd02949bcdf0f0e1ac682jiayl@webrtc.org * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 3678f1909fc6918687aedd02949bcdf0f0e1ac682jiayl@webrtc.org * 4678f1909fc6918687aedd02949bcdf0f0e1ac682jiayl@webrtc.org * Use of this source code is governed by a BSD-style license 5678f1909fc6918687aedd02949bcdf0f0e1ac682jiayl@webrtc.org * that can be found in the LICENSE file in the root of the source 6678f1909fc6918687aedd02949bcdf0f0e1ac682jiayl@webrtc.org * tree. An additional intellectual property rights grant can be found 7678f1909fc6918687aedd02949bcdf0f0e1ac682jiayl@webrtc.org * in the file PATENTS. All contributing project authors may 8678f1909fc6918687aedd02949bcdf0f0e1ac682jiayl@webrtc.org * be found in the AUTHORS file in the root of the source tree. 9678f1909fc6918687aedd02949bcdf0f0e1ac682jiayl@webrtc.org */ 10678f1909fc6918687aedd02949bcdf0f0e1ac682jiayl@webrtc.org 11678f1909fc6918687aedd02949bcdf0f0e1ac682jiayl@webrtc.org#ifndef WEBRTC_MODULES_DESKTOP_CAPTURE_WINDOW_LIST_UTILS_H_ 12678f1909fc6918687aedd02949bcdf0f0e1ac682jiayl@webrtc.org#define WEBRTC_MODULES_DESKTOP_CAPTURE_WINDOW_LIST_UTILS_H_ 13678f1909fc6918687aedd02949bcdf0f0e1ac682jiayl@webrtc.org 14678f1909fc6918687aedd02949bcdf0f0e1ac682jiayl@webrtc.org#include "webrtc/modules/desktop_capture/window_capturer.h" 15678f1909fc6918687aedd02949bcdf0f0e1ac682jiayl@webrtc.org 16678f1909fc6918687aedd02949bcdf0f0e1ac682jiayl@webrtc.orgnamespace webrtc { 17678f1909fc6918687aedd02949bcdf0f0e1ac682jiayl@webrtc.org 18678f1909fc6918687aedd02949bcdf0f0e1ac682jiayl@webrtc.org// A helper function to get the on-screen windows. 19678f1909fc6918687aedd02949bcdf0f0e1ac682jiayl@webrtc.orgbool GetWindowList(WindowCapturer::WindowList* windows); 20678f1909fc6918687aedd02949bcdf0f0e1ac682jiayl@webrtc.org 21678f1909fc6918687aedd02949bcdf0f0e1ac682jiayl@webrtc.org} // namespace webrtc 22678f1909fc6918687aedd02949bcdf0f0e1ac682jiayl@webrtc.org 23678f1909fc6918687aedd02949bcdf0f0e1ac682jiayl@webrtc.org#endif // WEBRTC_MODULES_DESKTOP_CAPTURE_WINDOW_LIST_UTILS_H_ 24678f1909fc6918687aedd02949bcdf0f0e1ac682jiayl@webrtc.org 25